
RCPU
REFERENCE MANUAL
ADDRESSING MODES AND INSTRUCTION SET SUMMARY
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
4-57
4.6.4 Condition Register Logical Instructions
Similar to the system call (
sc
) instruction, condition register logical instructions,
shown in
Table 4-23
, and the move condition register field (
mcrf
) instruction are
defined as flow control instructions, although they are executed by the IU.
Note that if the link register update option (LR) is enabled for any of these instruc-
tions, the PowerPC architecture defines these forms of the instructions as invalid.
Branch
Conditional
bc
bca
bcl
bcla
BO
,
BI
,
target_addr
The BI operand specifies the bit in the condition register (CR) to be
used as the condition of the branch. The BO operand is used as de-
scribed in
Table 4-21
.
bc
Branch Conditional. Branch conditionally to the address
computed as the sum of the immediate address and the
address of the current instruction.
bca
Branch Conditional Absolute. Branch conditionally to the
absolute address specified.
bcl
Branch Conditional then Link. Branch conditionally to the
address computed as the sum of the immediate address
and the address of the current instruction. The instruction
address following this instruction is placed into the link
register.
bcla
Branch Conditional Absolute then Link. Branch
conditionally to the absolute address specified. The
instruction address following this instruction is placed into
the link register.
Branch
Conditional
to Link
Register
b
clr
bclr
l
BO
,
BI
The BI operand specifies the bit in the condition register to be used as
the condition of the branch. The BO operand is used as described in
Table 5–21.
bclr
Branch Conditional to Link Register. Branch conditionally
to the address in the link register.
Branch Conditional to Link Register then Link. Branch
conditionally to the address specified in the link register.
The instruction address following this instruction is then
placed into the link register.
bclrl
Branch
Conditional
to Count
Register
bcctr
bcctrl
BO
,
BI
The BI operand specifies the bit in the condition register to be used as
the condition of the branch. The BO operand is used as described in
Table 5–21.
bcctr
Branch Conditional to Count Register. Branch
conditionally to the address specified in the count
register.
Branch Conditional to Count Register then Link. Branch
conditionally to the address specified in the count
register. The instruction address following this instruction
is placed into the link register.
Note:
If the “decrement and test CTR” option is specified (BO[2]=0),
the instruction form is invalid.
bcctrl
Table 4-22 Branch Instructions (Continued)
Name
Mnemonic
Operand
Syntax
Operation
F
Freescale Semiconductor, Inc.
n
.