- 68

- 0

**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.

**2. Homework 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.

http://download.yousendit.com/8391EA825F877F50

Any help would be much appreciated.