Architecture

BEQL

Branch On Equal Likely

BEQL

 

31

26 25

21 20

16 15

0

 

 

 

BEQL

 

rs

 

rt

 

offset

 

 

 

 

 

 

 

 

 

 

010100

 

 

 

 

 

 

 

 

 

6

 

5

 

5

 

16

 

Format :

BEQL rs, rt, offset

Description :

Generates the branch target address by adding the address of the instruction in the delay slot to the 16-bit offset (that has been left-shifted two bits and sign-extended to 32 bits). It compares the contents of general registers rs and rt and, if equal, the program branches to the target address after a one-cycle delay. If the branch is not taken, the instruction in the delay slot is treated as a NOP.

Operation :

T:

T + 1:

target (offset )14

offset 02

15

 

condition (GPR[rs] = GPR[rt]) if condition then

PC PC + target

else

NullifyCurrentInstruction endif

Exceptions :

None

117

Page 128
Image 128
Toshiba TX39 user manual Beql