Question: ( 9 points ) Consider the following program in MARIE assembly language. a ) Complete the table detailing the RTN for next 3 instructions only
points Consider the following program in MARIE assembly language.
a Complete the table detailing the RTN for next 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.
tabletableAddressHEXInstruction,HEX Contents of MemoryLOAD XADDI YBASKIPCOND JUMP locLoc ADD YASTORE XHALT,loc ADD XJUMP LocX HEX AY HEX BBBZ Dec FFDC
The RTN for the LOAD X instruction:
tableInstructionStep,RTNPCIRMAR,MBRAC
tableintialvaluesFetchMAR larr PCDecodeDecoded opcode in IR as load,
Get operand,MBR larr MMARExecuteAClarrMBR,
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
