EasyManua.ls Logo

Freescale Semiconductor PowerPC e500 Core - Page 458

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-14 Freescale Semiconductor
Simplified Mnemonics for PowerPC Instructions
Table C-14 provides simplified mnemonics and syntax for bcl and bcla.
Table C-15 provides simplified mnemonics and syntax for bclrl and bcctrl with LR updating.
Table C-14. Simplified Mnemonics for bcl and bcla with LR Update
Branch Semantics bcl
Simplified
Mnemonic
bcla
Simplified
Mnemonic
Branch unconditionally
Branch if condition true
1
1
Instructions for which B0 is either 12 (branch if condition true) or 4 (branch if condition false) do not depend on the
CTR value and can be alternately coded by incorporating the condition specified by the BI field. See Section C.4.6,
“Simplified Mnemonics that Incorporate CR Conditions (Eliminates BO and Replaces BI with crS).”
bcl 12,BI,target btl BI,target bcla 12,BI,target btla BI,target
Branch if condition false
1
bcl 4,BI,target bfl BI,target bcla 4,BI,target bfla BI,target
Decrement CTR, branch if CTR 0 bcl 16,0,target bdnzl target
2
2
Simplified mnemonics for branch instructions that do not test CR bits should specify only a target. A programming
error may occur.
bcla 16,0,target bdnzla target
2
Decrement CTR, branch if CTR 0 and
condition true
bcl 8,0,target bdnztl BI,target bcla 8,BI,target bdnztla BI,target
Decrement CTR, branch if CTR 0 and
condition false
bcl 0,BI,target bdnzfl BI,target
bcla 0,BI,target bdnzfla BI,target
Decrement CTR, branch if CTR = 0 bcl 18,BI,target bdzl target
2
bcla 18,BI,target bdzla target
2
Decrement CTR, branch if CTR = 0 and
condition true
bcl 10,BI,target bdztl BI,target bcla 10,BI,target bdztla BI,target
Decrement CTR, branch if CTR = 0 and
condition false
bcl 2,BI,target bdzfl BI,target bcla 2,BI,target bdzfla BI,target
Table C-15. Simplified Mnemonics for bclrl and bcctrl with LR Update
Branch Semantics bclrl
Simplified
Mnemonic
bcctrl
Simplified
Mnemonic
Branch unconditionally bclrl 20,0 blrl
1
1
Simplified mnemonics for branch instructions that do not test a CR bit should not specify one. A programming
error may occur.
bcctrl 20,0 bctrl
1
Branch if condition true bclrl 12,BI btlrl BI bcctrl 12,BI btctrl BI
Branch if condition false bclrl 4,BI bflrl BI bcctrl 4,BI bfctrl BI
Decrement CTR, branch if CTR 0 bclrl 16,0 bdnzlrl
1
——
Decrement CTR, branch if CTR 0 and condition true bclrl 8,BI bdnztlrl BI ——
Decrement CTR, branch if CTR 0 and condition false bclrl 0,BI bdnzflrl BI ——
Decrement CTR, branch if CTR = 0 bclrl 18,0 bdzlrl
1
——
Decrement CTR, branch if CTR = 0 and condition true bclrl 10, BI bdztlrl BI ——
Decrement CTR, branch if CTR = 0 and condition false bclrl 2,BI bdzflrl BI ——

Table of Contents

Related product manuals