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

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

1 Expert Approved Answer
Step: 1 Unlock

a The program accomplishes the following It initializes the counter CTR to 0 It then enters a loop t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer System Architecture Questions!