Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design and analyze a microcontroller instruction cycle pipeline to execute an [5] embedded program which has 200 instructions. Each instruction has 3 pipeline stages in

image text in transcribed
Design and analyze a microcontroller instruction cycle pipeline to execute an [5] embedded program which has 200 instructions. Each instruction has 3 pipeline stages in the following order - Instruction Fetch (IF), Instruction Decode (ID), Execute (Ex), Memory Access (MEM). The fetch operation takes 1 clock cycles, decode operation takes 1 clock eycles, and memory access takes 3 cycles. Suppose the execute stage take 4 clock cycles for first 50 instructions (II-I50), 6 clock cycles for second 50 instructions (151-1100), 5 clock cycles for third 50 instructions (1101-1150), 4 clock cycles for last 50 instructions (1151-1200). Find the total number of clocks. Implement the following if-else operation using assembly language syntax [5] Assume the value of X is stored in RO and value of Y is stored in RI if x-Y) X X2: else Y Y2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

What is the mean world syndrome?

Answered: 1 week ago