Question
Execute the below program. a)List the hexadecimal code for each instruction. b)Draw the symbol table. c) Fill in the blanks with correct values for registers
Execute the below program.
a)List the hexadecimal code for each instruction.
b)Draw the symbol table.
c) 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.
PLEASE EXPLAIN IN DETAIL HOW TO DO PART C. I ALREADY KNOW HOW TO DO PART A AND PART B. I HAVE NO IDEA HOW TO DO PART C. I HAVE THE ANSWER TO PART C, I JUST NEED SOMEONE TO EXPLAIN VERY THOROUGLY EACH STEP AND HOW TO COMPLETE THIS PROBLEM.
Here is the answer to part c, but please explain with much detail every step how to do this problem
Instruction LOAD X SUBT Y SKIPCOND 400 JUMP Else LOAD X ADD X STOREXX JUMP Endif LOAD X SUBT X STORE Y Halt Dec 12 Dec 20 Hex Address Label If 100 101 102 103 104 105 106 107 108 109 10A 10B 10C 10D Then, Else, Endif X, Y
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started