Question: Consider the MARIE program below. a. List the hexadecimal code for each instruction. b. Draw the symbol table c. What is the value stored
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 Hex Address 200 201 202 203 204 205 206 207 208 209 20A 20B 20C 200 20E 20F 210 211 212 213 214 215 216 217 Label If, Else, Then1, Then2, End X, Y, One, Instruction Load X Subt Y Skipcond 800 Jump Then1 Load X Subt Z Skipcond 400 Jump Then2 Load Z Add One: Store Z Jump End Load Y Add One. Store Y Jump End Load Y Subt One Store Y Halt Dec 10 Dec 5 Dec 15 Dec 1
Step by Step Solution
There are 3 Steps involved in it
a Here are the hexadecimal codes for each instruction in the MARIE program 200 0C10 Lo... View full answer
Get step-by-step solutions from verified subject matter experts
