Question: 3. Tracing a TOY Program. Consider the following TOY program. (a) After executing the instructions at memory locations 10, 11, and 12, what are the


3. Tracing a TOY Program. Consider the following TOY program. (a) After executing the instructions at memory locations 10, 11, and 12, what are the values of register 1,2 , and 3 in hexadecimal? (b) What does this program print? TOY REFERENCE CARD INSTRUCTION FORMATS ARITHMETIC and LOGICAL operations 1:add2:subtract3:and4:xor5:shiftleft6:shiftrightR[d]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
