Question: Assembly Assignment Consider the MARIE program: table [ [ table [ [ Hex ] , [ Address ] ] , Label,Instruction ] ,

Assembly Assignment
Consider the MARIE program:
\table[[\table[[Hex],[Address]],Label,Instruction],[200,Begin,,LOAD Base],[201,,ADD offs],[202,Loop,,SUbt One],[203,,STORE Addr],[204,,SKIPCOND 800],[205,,JUMP Done],[206,,JUMPI Addr],[207,,Clear],[208,Done,,HALT],[209,Base,,HEX 200],[20A,offs,,DEC 9],[20B,One,,HEX 0001],[20 C,Addr,,HEX 0000]]
Part 1(10%):
Part 1: On paper, list the hexadecimal code for each instruction (no need to upload to D2L).
-Part 2; Via tracing the code by hand, determine the value stored in the AC when the program terminates (no need to upload this to D2L).
-Part 3: Implement the above program in MARIE, run the program, and determine what value is stored in the AC when the program terminates. Is it the same value as indicated in part 2?(no need to upload this to D2L)
Dr. Clincy
Assembly Assignment Consider the MARIE program: \

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!