1.

The instruction BC 0x15 means1. jump 15 bytes relative to the program counter2. copy and load 15 words in the reverse direction to the program counter3. move to a location by 15 bits to the program counter4. redirect (jump) to a location by 15 words relative to the program counter

Answer» Correct Answer - Option 4 : redirect (jump) to a location by 15 words relative to the program counter

Branching instructions:

The BC instruction branches to an instruction specified by the branch target address. The branch

a target address is computed one of two ways:

  • If the Absolute Address bit (AA) is 0, then the branch target address is computed by concatenating the 14-bit Branch Displacement (BD) and b'00', sign-extending this to 32 bits, and adding the result to the address of this branch instruction.
  • If the AA is 1, then the branch target address is BD concatenated with b'00' sign-extended to 32 bits.
  • The instruction BC 0x15 means to jumps to a location by 15 words relative to the program counter


Discussion

No Comment Found

Related InterviewSolutions