Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started