Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Microcode problem.

  1. Apr 6, 2008 #1
    1. The problem statement, all variables and given/known data

    Write the microcode to reverse the order of the bytes stored at memory location 0x1020
    and store the result in memory location 0x1024.

    2. Relevant equations

    3. The attempt at a solution
    I have tried doing different combinations of arithmetic, logical, and circular shifts to try and reverse the order of bytes in a number, but I can't seem to get it. I'm fairly certain that it is a problem that has to be solved using a combination of these different shifts, but I'm not exactly sure.

    This is the template for the microcode.

    Any help would be much appreciated.
  2. jcsd
  3. Apr 17, 2008 #2
    The link to the template has expired.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook