The following program is supposed to print the number 5 on the screen. It does not work. Why? Answer in no more than ten words, please. .ORIG x3000 JSR A OUT BRnzp DONE A AND R0,R0,#0 ADD R0,R0,#5 JSR...


The following program is supposed to print the number 5 on the screen.
It does not work. Why? Answer in no more than ten words, please.
.ORIG x3000
JSR A
OUT
BRnzp DONE
A AND R0,R0,#0
ADD R0,R0,#5
JSR B
RET
DONE HALT
ASCII .FILL x0030
B LD R1,ASCII
ADD R0,R0,R1
RET
.END



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here