Architecture

BCzTL

Branch On Coprocessor z True Likely

BCzTL

 

31

26 25

21 20

16 15

0

 

 

COPz

 

BC

 

 

BCTL

 

offset

 

 

 

 

 

 

 

 

 

 

 

0100xx*

 

01000

 

 

00011

 

 

 

 

6

5

 

 

5

 

16

 

Format :

BCzTL offset

Description :

Generates a 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). If the coprocessor z condition (CPCOND) sampled during execution of the immediately preceding instruction is true, the program branches to the target address after a one-cycle delay. If the condition is false, the instruction in the delay slot is treated as a NOP.

Operation :

T 1:

condition COC[z]

T:

target (offset15)14 offset 02

T + 1:

if condition then

 

PC PC + target

 

else

 

NullifyCurrentInstruction

 

endif

 

 

*Refer also to the table on the following page (Operation Code Bit Encoding) or to the section entitled “Bit Encoding of CPU Instruction Opcodes” at the end of this appendix.

114

Page 125
Image 125
Toshiba TX39 user manual BCzTL