slrc5390 slrc5390
  • 19-07-2019
  • Computers and Technology
contestada

What is the range of addresses for a conditional branchinstruction in MIPS
with respect to X, where X contains the address of the branchinstruction?

Respuesta :

KrystaCort KrystaCort
  • 31-07-2019

Answer:

MIPS processors use size-fixed instructions where each command word is a word (i.e. 4 bytes = = 32 bits). So there is only so much data that can be squeezed into those four bytes.

The counter of the program is 32 bit. Therefore, the address must be 32 bit.

The address field in instruction for conditional branches is 16  long.

Therefore the complete address range is 65536 (2 ^ 16) ± Program counter.

Answer Link

Otras preguntas

A square is shown below. Which expression can be used to find the area, in square units, of the shaded triangle in the square
An ordinary (fair) die is a cube with the numbers 1 through 6 on the sides (represented by painted spots). Imagine that such a die is rolled twice in succession
The word cooperate means? A. repeat actions. B. joins forces. C. gather information. D. separate ideas.
Rewrite each sentence using the cues. Decide whether you need to use the subjunctive or not. Modèle: On va voir ce film. (Il faut que...) Il faut qu'on aille vo
El____ es un pescado A. Atún B. Langosta C.camarón
Read the following sentences and insert commas where necessary. 1. Turning her back to the class she began writing on the board. 2. Having been hit in the neck
The purpose of The Warsaw Pact was to:
Which of the following rational functions is graphed below
A felly happy the government drive upon his retirement
I need help now now now