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

  • Thread starter Thread starter smk037
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on writing microcode to reverse the byte order at memory location 0x1020 and store the result at 0x1024. The user attempted various combinations of arithmetic, logical, and circular shifts but was unable to achieve the desired outcome. The solution requires a strategic application of these shifts to manipulate the byte order effectively. A template for the microcode was referenced, but the link to it has expired.

PREREQUISITES
  • Understanding of microcode programming
  • Familiarity with memory addressing (specifically hexadecimal addresses)
  • Knowledge of arithmetic and logical shift operations
  • Experience with circular shifts in data manipulation
NEXT STEPS
  • Research how to implement circular shifts in microcode
  • Study examples of byte manipulation in assembly language
  • Explore techniques for reversing byte order in low-level programming
  • Review microcode templates for similar byte manipulation tasks
USEFUL FOR

Microcode developers, computer architecture students, and anyone involved in low-level programming or byte manipulation tasks.

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.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
5
Views
17K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
8
Views
3K