Question: ( 9 points ) Consider the following program in MARIE assembly language. a ) Complete the table detailing the RTN for next 3 instructions only

(9 points) Consider the following program in MARIE assembly language.
a) Complete the table detailing the RTN for next 3 instructions only that will be executed including the content of registers PC, IR, MAR, MBR and AC in hexadecimal.
Note: the first instruction LOAD X is already filled. Note also that SKIPCOND instruction has no operands, therefore you can complete Fetch, decode and execute cycles only.
\table[[\table[[Address],[(HEX)]],Instruction,HEX Contents of Memory],[0000,LOAD X,1009],[0001,ADDI Y,B00A],[0002,SKIPCOND 400,8400],[0003,JUMP loc1,9007],[0004,Loc2, ADD Y,300A],[0005,STORE X,2009],[0006,HALT,7000],[0007,loc1, ADD X,3009],[0008,JUMP Loc2,9004],[0009,X, HEX 0024,0024],[000A,Y, HEX 000B,000B],[000B,Z, Dec -36,FFDC]]
The RTN for the LOAD X instruction:
\table[[Instruction,Step,RTN,PC,IR,MAR,MBR,AC],[
,\table[[(intial],[values)]],,000,0000,000,0000,0000],[Fetch,MAR larr PC,000,0000,000,0000,0000],[MBRlarrM[MAR],000,0000,000,1009,0000],[IRlarrMBR,000,1009,000,1009,0000],[PClarrPC+1,001,1009,000,1009,0000],[Decode,Decoded opcode 1 in IR[15-12] as load,001,1009,000,1009,0000],[]
[0,001,1009,009,1009,0000],[Get operand,MBR larr M[MAR],001,1009,009,0024,0000],[Execute,AClarrMBR,001,1009,009,0024,0024]]
( 9 points ) Consider the following program in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!