1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Reverse the number

  1. Mar 23, 2006 #1
    Can some one guide me ,,how to write an assembly language function for Pentium-class PCs with the following features.

    1. C callable.
    2. Takes one 32-bit argument
    3. Returns 32-bit argument obtained by reversing the bits of the input (i.e. bit 0 of input appears at bit 31, bit 1 at bit 30 and so on).
    4. Write another function in C which implements the same behavior.
    5. Using the time related function calls, find the time of execution of C function and assembly language function (when the call is made 50000 times).

    i just need an general outline..I will be highly thankful for yours help..
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: Reverse the number
  1. Java- reverse sentence (Replies: 41)

Loading...