Question: 5. Do Exercise 4 for the DECO instruction. FIGURE 8.34 The program for Exercise 4. 0000 120005 BR main 0003 0000 num: .BLOCK 2 0005
5. Do Exercise 4 for the DECO instruction.

FIGURE 8.34 The program for Exercise 4. 0000 120005 BR main 0003 0000 num: .BLOCK 2 0005 310003 main: DECI num, d 0008 390003 DECO num, d ; Branch around data ;Global variable ;Input decimal value ; Output decimal value 000B D0000A 000E F1FC16 LDBA ' ', i STBA charOut, d ; Output message 0011 490015 STRO msg, d 0014 00 STOP 0015 546861 msg: .ASCII "That's all. \x00" 742773 20616C 0021 6C2E00 END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
