Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by the destination register followed by one or two source registers. Instructions requiring floating Unit (FPU) are indicated in the comment field. Please note that LOAD, STORE and FPU operations require 4, 4 and 3 clock cycles respectively whereas integer operations require one clock cycle only. a) Show the execution sequence of the program using in-order-issue and in-order-execution policy.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 26VE: _____ is a CPU design technique in which instruction execution is divided into multiple stages and...
icon
Related questions
Question

a

1.
Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by the destination register followed by one or two source registers. Instructions requiring floating Point
Unit (FPU) are indicated in the comment field. Please note that LOAD, STORE and FPU operations require 4, 4 and 3 clock cycles respectively whereas integer operations require one clock cycle only.
a) Show the execution sequence of the program using in-order-issue and in-order-execution policy.
Instructions
Comment
LOAD R2, [R1]
ADD R3, R1, R2
STORE [R5], R3
ADD R1, R6, 16H
FPU
SUB R5, R4, R3
FPU
STORE [R2], RS
AND R4, R2, 15H
OR R3, R1, 25H
LOAD R2, M1
SUB R4, R3, R2
FPU
STORE M2. R4
System
Integer ALU
Fetch
Write-back
Decode
Unit-1
Unit-1
Unit-1
Floating Point
Unit
Decode
Unit-2
Fetch
Write-back
Unit-2
Activate Windov
Unit-2
Integer ALU
Go to Settings to acti
Transcribed Image Text:1. Consider a program having following sequence of instructions, where the syntax consists of an opcode followed by the destination register followed by one or two source registers. Instructions requiring floating Point Unit (FPU) are indicated in the comment field. Please note that LOAD, STORE and FPU operations require 4, 4 and 3 clock cycles respectively whereas integer operations require one clock cycle only. a) Show the execution sequence of the program using in-order-issue and in-order-execution policy. Instructions Comment LOAD R2, [R1] ADD R3, R1, R2 STORE [R5], R3 ADD R1, R6, 16H FPU SUB R5, R4, R3 FPU STORE [R2], RS AND R4, R2, 15H OR R3, R1, 25H LOAD R2, M1 SUB R4, R3, R2 FPU STORE M2. R4 System Integer ALU Fetch Write-back Decode Unit-1 Unit-1 Unit-1 Floating Point Unit Decode Unit-2 Fetch Write-back Unit-2 Activate Windov Unit-2 Integer ALU Go to Settings to acti
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning