Question: The following assembly language perform a sequence of arithmetic operation. Predict the values of address, R0 and R1 by completing Table 5 for each

The following assembly language perform a sequence of arithmetic operation. Predict the values of address, R0 and R1 by completing Table 5 for each line of instruction. Assume initial the value of R0 and RI is 0. .ORIG x3000 ADD RO RO #5 wwwww ADD R1 R0 #5 ADD RO RO R1 wwww ADD RO RO # -15 www ADD R1 R1 X-5 wwww HALT .END Table 5 Address Instruction RO (Dec) R1 (Dec) ADD RO RO #5 ADD R1 R0 #5 ADD RO RO RI ADD RO RO # -15 www ADD R1 R1 x-5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
