Create simple demo that calls one x86 asm function
This project was successfully completed by SUog for $40 AUD in 4 days.Get free quotes for a project like this
Project Budget$30 - $250 AUD
Completed In4 days
This link has the full source code for a single function "getbits" (approx 45 lines of x86 assembly instructions) - [url removed, login to view]
As the name implies all it does is read a certain amount of bits ('n bits') from a stream (ie 3 bits or 12 bits etc -- any number from 1 to 32), and it maintains an internal state so it's able to keep following the stream along to correctly output 'n bits' until the end of the stream. (It's a "bitstream" reader)
I just need you to make a simple demo using either gcc or fasm/masm that demonstrates how to call it. Just a console app, nothing fancy, just a simple demonstration. For example the demo might use a buffer of say 15 bytes, and call getbits(10) over and over to read and printf() 10 bits at a time (into a 16 or 32bit 'holder' int) until end of the buffer.
I look forward to working with you! Please include a brief comment in your proposal, thanks! :)
Browse Related Skills
Other things people do on Freelancer
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online