Question: Consider the following assembly language program. Draw and Fill Symbol Table of the following code. .ORIG x3000 AND R2, R2, #0 LD R0, M0 LD
Consider the following assembly language program. Draw and Fill Symbol Table of the following code.
.ORIG x3000
AND R2, R2, #0
LD R0, M0
LD R1, M1
LOOP BRz DONE
ADD R2, R2, R0
ADD R1, R1, #-1
BR LOOP
DONE ST R2, RES
HALT
RES .FILL x0000
M0 .FILL x0004
M1 .FILL x0023
.END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
