10 likes | 121 Vues
Translate the provided assembly code snippet into object code. Detailed explanation in Figures 2.2 and 2.3 below.
E N D
Homework #1 SUM START 4000 FIRST LDX ZERO LDCH TWO,X LDA ZERO LOOP ADD TABLE,X TIX COUNT JLT LOOP STA TOTAL RSUB TABLE RESW 2000 COUNT RESW 1 ZERO WORD 0 TWO BYTE C’@’ TOTAL RESW 1 END FIRST Translate the above code into object code. Your answer should contain information like figure 2.2 and figure 2.3.