Assignment 3, due Feb 11
Part of
the homework for 22C:60, Spring 2005
|
Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list! All assignments will be due at the start of class on the day indicated, and unless there is what insurance companies call "an act of God" - something outside your control; the only exceptions to this rule will be by advance arrangement.
001000: E465 001002: 4321 001004: D512 001006: 3645
a) "Disassemble" this, that is, express the same program fragment in SMAL Hawk assembly language instead of in hexadecimal.
b) If the Hawk computer begins executing code at location 100016 and is stopped after completing the execution of the above fragment, what values are now stored in each register?
a) 1
b) 10
c) 100
d) 10000 -- express all of your answers in assembly language, not binary.
e) 100000000
a) 1
b) 10
c) 100
d) 10000 -- express all of your answers in assembly language, not binary.
e) 100000000
EXCHANGE R4,R5