Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I just need ii) 4. This exercise will help you explore the range of branch and jump instruction in MIPS. Consider the hex values below

I just need ii)

image text in transcribed

4. This exercise will help you explore the range of branch and jump instruction in MIPS. Consider the hex values below for the questions in parts a through d i) 0x0002 0000 ii) 0xFFFF FF00 a) Let the PC has the address 0x00000000, and imagine jumping to each address above using only branch instructions in sequence (one after another). Determine how many branch instructions back to back need to be executed to perform the jump. Show your work. b) Let the PC has the address 0x00000000, and imagine jumping to each address above using only jump instructions (no jump register or branch instructions) in sequence (one after another) Determine how many jump instructions back to back need to be executed to perform the jump Show your work. c) MIPS designers have decided to reduce the number of bits allocated to immediate field in I type instruction to 8. If the PC has the address 0x00000000, how many back to back branch instructions are needed to jump to each of the two addresses for the above values? Show your computations d) Let the PC has the address 0x00000000, and imagine jumping to each address above using only jump register instruction (no jump or branch instructions) in sequence (one after another) Determine how many jump register instructions back to back need to be executed to perform the jump. Show your work

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

what is a hybrid cloud?

Answered: 1 week ago

Question

1. Identify and control your anxieties

Answered: 1 week ago