This assignment is based on the Mic-1 architecture, as described in Figures 4-8, 4-9, and 4-10 (section 4.2) in Tanenbaum's text.
In the following, assume register A contains the address of the variable X, register B contains the address of variable Y, and register C contains the address of variable Z.
Z := 4*X - 2;
Z = max(X, Y)
dvips ~walker/public_html/courses/211/micro-code-form.dviFor each instruction, indicate a 0 or 1 only in those fields where the value matters. Place a dash (-) in fields where the values are ignored. Also, be sure to annotate your code appropriately.
This document is available on the World Wide Web as
http://www.math.grin.edu/~walker/courses/211/micro-assign.html