Question: 1. List the hexadecimal code for the following program (hand assemble it). 2. Consider the MARIE program below. a) List the hexadecimal code for each

1. List the hexadecimal code for the following program (hand assemble it).

Hex Address 100 101 102 103 104 105 106 107 108 109

2. Consider the MARIE program below.

a) List the hexadecimal code for each instruction.

b) Draw the symbol table.

c) What is the value stored in the AC when the program terminates?

Label S2, s1, A, One, Instruction Load A Add One Jump S1

3. Given the instruction set for MARIE in this chapter, decipher the following MARIE machine language instructions. (Write the assembly language equivalent.)

b) 1001000000001011

c) 0011000000001001

Hex Address 100 101 102 103 104 105 106 107 108 109 Label S2, s1, A, One, Instruction Load A Add One Jump S1 Add One Store A Halt Add A Jump S2 HEX 0023 HEX 0001

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Hexadecimal ... 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 Programming Questions!