Question: . ORIG 3 0 0 0 LEA R 1 , CHARS LDR Re , R 1 , # 3 OUT LD R 2 , N

.ORIG 3000
LEA R1, CHARS
LDR Re, R1, #3
OUT
LD R2, N
ADD R3, R1, R2
LDR R , R3, #
OUT
LEA R4, N
LDR R2, R4, #1
ADD R3, R1, R2
LDR RO, R3, #0
OUT
LEA R5, DONE
LDR R0, R5, #6
OUT
HALT
. FILL #5
. FILL #7
DONE
N
.STRINGZ "oadewlts"
END
CHARS
END
Trace the execution of the program above and answer the following questions.
A. What is the first character that this program displays?
B. What is the second character that this program displays?
G. What is the third character that this program displays?
D. What is the fourth character that this program displays?
 .ORIG 3000 LEA R1, CHARS LDR Re, R1, #3 OUT LD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!