Solving Microcode Problem: Reverse Bytes at 0x1020 & Store at 0x1024

  • Thread starter Thread starter smk037
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
smk037
Messages
67
Reaction score
1

Homework Statement



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


Homework Equations





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.
http://download.yousendit.com/8391EA825F877F50

Any help would be much appreciated.
 
Physics news on Phys.org
The link to the template has expired.