Question: Fill in the blanks with correct values for registers PC and AC, and the contents in memory locations X, and Y, after each instruction is
Fill in the blanks with correct values for registers PC and AC, and the contents in memory locations X, and Y, after each instruction is executed starting from the first instruction.
2. (15 points) Execute the below progranm d) List the hexadecimal code for each instruction. Instruction LOAD X SUBT Y SKIPCOND 400 JUMP Else LOAD X ADD X STORE X JUMP Endif LOAD X SUBTX STOREY Halt Dec 12 Dec 20 hex code 1100 410D 8400 9108 110C 310C 2100 910B 110C 410C 210D 7000 0012 0020 Hex Address Label 100 If, 101 102 103 104 105 106 107 108 109 10A 10B 10C 10D Then, Else Endif, Y
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
