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

  • Thread starter Thread starter smk037
  • Start date Start date
AI Thread Summary
The discussion focuses on writing microcode to reverse the byte order of data stored at memory location 0x1020 and save the result at 0x1024. The user has attempted various arithmetic, logical, and circular shifts but has not succeeded in achieving the desired outcome. There is a belief that a combination of these shifts is necessary to solve the problem. Additionally, the user provided a link to a microcode template, which has since expired. Assistance is requested to resolve the microcode challenge effectively.
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.
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...
Back
Top