Question: a. Explain in words what the following program accomplishes when it is executed. What is the value of location CTR when the computer halts? b.
a. Explain in words what the following program accomplishes when it is executed. What is the value of location CTR when the computer halts?
b. List the address symbol table obtained during the first pass of the assembler.
c. List the hexadecimal code of the translated program.
ROT, AGN, STP, CTR, WRD, ORG 100 CLE CLA STA CTR LDA WRD SZA BUN ROT BUN STP CIL SZE BUN AGN BUN ROT CLE ISZ CTR SZA BUN ROT HLT HEX O HEX 62C1 END
Step by Step Solution
3.43 Rating (150 Votes )
There are 3 Steps involved in it
a The program accomplishes the following It initializes the counter CTR to 0 It then enters a loop t... View full answer
Get step-by-step solutions from verified subject matter experts
