Question: Determine the object code and predict the output of the following assembly language program, if the input equals to 48? BR 0x0005 .BLOCK 2 DECI
Determine the object code and predict the output of the following assembly language program, if the input equals to 48?
BR 0x0005
.BLOCK 2
DECI 0x0003, d
HEXO 0x0003, d
STRO msg, d
LDWA 0x0003, d
SUBA 2, i
STWA 0x0003, d
HEXO 0x0003, d
STOP
msg: .ASCII " - 2 = \x00"
.END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
