Question: Complete 5 - 8 : 5 . Write the value of the PC registers, flag registers and control signals for each executed instruction.

Complete 5-8:
5. Write the value of the "PC" registers, flag registers and control signals for each executed instruction.
6. Each instruction has different fields that are represented as binary in the machine. Write down the binary value of the field of each instruction.
7. Write down the units that are used in each instruction.
8. Write down the value of "ALU" input signal?
Question 1:
ADDI X1, XZR,\#10
ADDI X2, XZR,\#20
// Perform operations
ADD \(\mathrm{X}3,\mathrm{X}1,\mathrm{X}2\quad //\mathrm{X}3=\mathrm{X}1+\mathrm{X}2\)
SUB X4, X3, X1// X4= X3- X1
AND X5, X1, X2// X5= X1\& X2
ORR X6, X1, X2// X6= X1|X2
LSL X7, X2,\#2// X7= X22
LEGv8 Simulator
LEGv8 Simulator
LEGv8 Simulator
LEGv8 Simulator
LEGV8 Simulator
Execution Mode: Single Cycle
Assemble
Execute Instruction
Help
LEGv8 Simulator
Execution Mode: Single Cycle
Assemble
Execute Instruction
Help
LEGv8 Simulater
Execution Mode: Single Cycle
Assemble
Execute Instruction
Help
Question 1:
ADDI X1, XZR, #10
ADDI X2, XZR, #20
// Perform operations
LEGv8 Simulator
Execution Mode: Single Cycle
Assemble
Execute Instruction
Help
Complete 5 - 8 : 5 . Write the value of the " PC

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!