Assignment 4, due June 21
Part of
the homework for 22C:50, Summer 2004
|
MOVE src,dst
Assembles identically to these two lines of EAL code
W src W dst
If you are curious about the machine itself, see http://homepage.cs.uiowa.edu/~dwjones/arch/risc/, but nothing about the details of the actual machine matters to this problem.
Look in the code for EAL, in file parser.c and find the code for processing the B and W pseudo-ops (right before the else clause that generates the error message illegal opcode or pseudo-op). Write the code you would add here (starting with } else if ...) to handle the MOVE opcode. Assume that move_handle is defined for you.