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
—
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...