EasyManua.ls Logo

Freescale Semiconductor PowerPC e500 Core - Simplified Mnemonics that Incorporate the BO Operand

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...
Simplified Mnemonics for PowerPC Instructions
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor C-11
To identify a CR bit, an expression in which a CR field symbol is multiplied by 4 and then added
to a bit-number-within-CR-field symbol can be used, (for example, cr0 * 4 + eq).
C.4.5 Simplified Mnemonics that Incorporate the BO Operand
The mnemonics in Table C-10 allow common BO operand encodings to be specified as part of the
mnemonic, along with the absolute address (AA) and set link register bits (LK). There are no
simplified mnemonics for relative and absolute unconditional branches. For these, the basic
mnemonics b, ba, bl, and bla are used.
Table C-9. CR Field Identification Symbols
Symbol BI[0–2] CR Bits
cr0 (default, can be eliminated from syntax) 000 32–35
cr1 001 36–39
cr2 010 40–43
cr3 011 44–47
cr4 100 48–51
cr5 101 52–55
cr6 110 56–59
cr7 111 60–63
Table C-10. Branch Simplified Mnemonics
Branch Semantics
LR Update Not Enabled LR Update Enabled
bc bca bclr bcctr bcl bcla bclrl bcctrl
Branch unconditionally
1
1
Simplified mnemonics for branch instructions that do not test CR bits should specify only a target. Otherwise a
programming error may occur.
——blr bctr ——blrl bctrl
Branch if condition true bt bta btlr btctr btl btla btlrl btctrl
Branch if condition false bf bfa bflr bfctr bfl bfla bflrl bfctrl
Decrement CTR, branch if
CTR 0
1
bdnz bdnza bdnzlr bdnzl bdnzla bdnzlrl
Decrement CTR, branch if
CTR 0 and condition true
bdnzt bdnzta bdnztlr bdnztl bdnztla bdnztlrl
Decrement CTR, branch if
CTR 0 and condition false
bdnzf bdnzfa bdnzflr bdnzfl bdnzfla bdnzflrl
Decrement CTR, branch if
CTR = 0
1
bdz bdza bdzlr bdzl bdzla bdzlrl
Decrement CTR, branch if
CTR = 0 and condition true
bdzt bdzta bdztlr bdztl bdztla bdztlrl
Decrement CTR, branch if
CTR = 0 and condition false
bdzf bdzfa bdzflr bdzfl bdzfla bdzflrl

Table of Contents

Related product manuals