Mips Instruction Format Cheat Sheet Page 2

ADVERTISEMENT

The instruction format for jump
J
10000
is represented as
2
10000
6-bits
26 bits
This is the J-type format of MIPS instructions.
Conditional branch is represented using I-type format:
bne $s0, $s1, 1234
is represented as
5
16
17
offset
6
5
5
16-bit offset
PC + offset determines the branch target.
This is called
PC-relative
addressing.

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education