Question: table [ [ Address in Hex,Label,,Instruction,Comment ] , [ 1 0 0 , If , , Laod,X , ] , [ 1 0 1
tableAddress in Hex,Label,,Instruction,CommentIfLaod,XSubt,YSkipcond,Jump Else,,Then,,Load,XAdd,XStore,XJump,Endif,Else,,Load,YSubt,X AStore,Y is in decimal BEndif,,halt,, is in decimal CXDec
A program for MARIE using labels and directives for the constants.
Consider the MARIE program shown above and answer the following question.
a List the hexadecimal code for each instruction.
b Write the symbol table after first pass of the assembler.
c Write the decoded instructions in Hex after the second pass of the assembler.
d What values in hexadecimal are stored in the AC IR and PC when the program terminates?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
