PowerPC e500 Core Family Reference Manual, Rev. 1
C-18 Freescale Semiconductor
Simplified Mnemonics for PowerPC Instructions
Table C-20 shows simplified branch mnemonics and syntax for bclr and bcctr without LR
updating.
Table C-21 shows simplified branch mnemonics and syntax for bcl and bcla.
Table C-20. Simplified Mnemonics for bclr and bcctr without Comparison Conditions
and LR Updating
Branch Semantics bclr
Simplified
Mnemonic
bcctr
Simplified
Mnemonic
Branch if less than bclr 12,BI
1
,target
1
The value in the BI operand selects CR
n
[0], the LT bit.
bltlr crS target bcctr 12,BI
1
,target bltctr crS target
Branch if less than or equal bclr 4,BI
2
,target
2
The value in the BI operand selects CR
n
[1], the GT bit.
blelr crS target bcctr 4,BI
2
,target blectr crS target
Branch if not greater than bnglr crS target bngctr crS target
Branch if equal bclr 12,BI
3
,target
3
The value in the BI operand selects CR
n
[2], the EQ bit.
beqlr crS target bcctr 12,BI
3
,target beqctr crS target
Branch if greater than or equal bclr 4,BI
1
,target bgelr crS target bcctr 4,BI
1
,target bgectr crS target
Branch if not less than bnllr crS target bnlctr crS target
Branch if greater than bclr 12,BI
2
,target bgtlr crS target bcctr 12,BI
2
,target bgtctr crS target
Branch if not equal bclr 4,BI
3
,target bnelr crS target bcctr 4,BI
3
,target bnectr crS target
Branch if summary overflow bclr 12,BI
4
,target
4
The value in the BI operand selects CR
n
[3], the SO bit.
bsolr crS target bcctr 12,BI
4
,target bsoctr crS target
Branch if unordered bunlr crS target bunctr crS target
Branch if not summary overflow bclr 4,BI
4
,target bnslr crS target bcctr 4,BI
4
,target bnsctr crS target
Branch if not unordered bnulr crS target bnuctr crS target
Table C-21. Simplified Mnemonics for bcl and bcla with Comparison Conditions
and LR Updating
Branch Semantics bcl
Simplified
Mnemonic
bcla
Simplified
Mnemonic
Branch if less than bcl 12,BI
1
,target bltl crS target bcla 12,BI
1
,target bltla crS target
Branch if less than or equal bcl 4,BI
2
,target blel crS target bcla 4,BI
2
,target blela crS target
Branch if not greater than bngl crS target bngla crS target
Branch if equal bcl 12,BI
3
,target beql crS target bcla 12,BI
3
,target beqla crS target
Branch if greater than or equal bcl 4,BI
1
,target bgel crS target bcla 4,BI
1
,target bgela crS target
Branch if not less than bnll crS target bnlla crS target
Branch if greater than bcl 12,BI
2
,target bgtl crS target bcla 12,BI
2
,target bgtla crS target
Branch if not equal bcl 4,BI
3
,target bnel crS target bcla 4,BI
3
,target bnela crS target
Branch if summary overflow bcl 12,BI
4
,target bsol crS target bcla 12,BI
4
,target bsola crS target
Branch if unordered bunl crS target bunla crS target