Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 ) 0x0002 0000 i) 0xFFFF FF0O 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. 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 ) 0x0002 0000 i) 0xFFFF FF0O 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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

What was the role of the team leader? How was he or she selected?

Answered: 1 week ago

Question

How are members held accountable for serving in the assigned roles?

Answered: 1 week ago