Question
Using the hypothetical machine shown on the next page, fill in the Processor block with the appropriate hexadecimal numbers. Also, when main memory is modified,
Using the hypothetical machine shown on the next page, fill in the Processor block with the appropriate hexadecimal numbers. Also, when main memory is modified, shown the new quantity in hexadecimal.
Note that the memory locations shown to the left of the Memory boxes are given in DECIMAL not hexadecimal.
All numbers appearing in the Processor box should be in hexadecimal.
Note that on each of the attached sheets, the odd numbered quarter of a page corresponds to a fetch cycle, and the even numbered quarter of a page corresponds to an execute cycle.
Show the math for all conversions on the back of the sheets. Make ample use of arrows to show the movement of instructions and data words between memory and registers and register to register.
Make sure that you show the incremented PC values.
0000 = Add Reg_x to value in memory location X and put result in Reg_x
0001 = Add Reg_x to immediate value I and put result in Reg_x
0100 = Add Reg_x to Reg_y and put result in Reg_x
0101 = Load Reg_x with value in memory location X
0110 = Load Reg_x with immediate value I
1001 = Multiply Reg_x with value in memory location X and put result in Reg_x
1100 = Multiply Reg_x with immediate value I and put result in Reg_x
1101 = Multiply Reg_x with Reg_y and put result in Reg_x
1110 = Store Reg_x in memory location X
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