EasyManua.ls Logo

Freescale Semiconductor PowerPC e500 Core - Page 460

Default Icon
548 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PowerPC e500 Core Family Reference Manual, Rev. 1
C-16 Freescale Semiconductor
Simplified Mnemonics for PowerPC Instructions
Table C-17 shows the syntax for simplified branch mnemonics that incorporate CR conditions.
Here, crS replaces a BI operand to specify only a CR field (because the specific CR bit within the
field is now part of the simplified mnemonic. Note that the default is CR0; if no crS is specified,
CR0 is used.
Table C-18 shows the simplified branch mnemonics incorporating conditions.
Instructions using the mnemonics in Table C-18 indicate the condition bit, but not the CR field. If
no field is specified, CR0 is used. The CR field symbols defined in Table C-9 (cr0cr7) are used
for this operand, as shown in examples 2–4 below.
Table C-17. Branch Instructions and Simplified Mnemonics that Incorporate CR
Conditions
Instruction
Standard
Mnemonic
Syntax
Simplified
Mnemonic
Syntax
Branch b (ba bl bla) target_addr
Branch Conditional bc (bca bcl bcla) BO,BI,target_addr b
x
1
(b
x
a b
x
l b
x
la)
1
x
stands for one of the symbols in Tabl e C -1 6 , where applicable.
crS
2
,target_addr
2
BI can be a numeric value or an expression as shown in Table C-9.
Branch Conditional to Link Register bclr (bclrl) BO,BI b
x
lr (b
x
lrl) crS
Branch Conditional to Count Register bcctr (bcctrl) BO,BI b
x
ctr (b
x
ctrl) crS
Table C-18. Simplified Mnemonics with Comparison Conditions
Branch Semantics
LR Update Not Enabled LR Update Enabled
bc bca bclr bcctr bcl bcla bclrl bcctrl
Branch if less than blt blta bltlr bltctr bltl bltla bltlrl bltctrl
Branch if less than or equal ble blea blelr blectr blel blela blelrl blectrl
Branch if equal beq beqa beqlr beqctr beql beqla beqlrl beqctrl
Branch if greater than or equal bge bgea bgelr bgectr bgel bgela bgelrl bgectrl
Branch if greater than bgt bgta bgtlr bgtctr bgtl bgtla bgtlrl bgtctrl
Branch if not less than bnl bnla bnllr bnlctr bnll bnlla bnllrl bnlctrl
Branch if not equal bne bnea bnelr bnectr bnel bnela bnelrl bnectrl
Branch if not greater than bng bnga bnglr bngctr bngl bngla bnglrl bngctrl
Branch if summary overflow bso bsoa bsolr bsoctr bsol bsola bsolrl bsoctrl
Branch if not summary overflow bns bnsa bnslr bnsctr bnsl bnsla bnslrl bnsctrl
Branch if unordered bun buna bunlr bunctr bunl bunla bunlrl bunctrl
Branch if not unordered bnu bnua bnulr bnuctr bnul bnula bnulrl bnuctrl

Table of Contents

Related product manuals