Instruction Set 9-27
bcctr
Branch Conditional to Count Register
Table 9-8. Extended Mnemonics for bcctr, bcctrl
Mnemonic Operands Function
Other Registers
Altered
bctr Branch unconditionally to address in CTR.
Extended mnemonic for
bcctr 20,0
bctrl
Extended mnemonic for
bcctrl 20,0
(LR)
← CIA + 4.
beqctr [cr_field] Branch, if equal, to address in CTR
Use CR0 if cr_field is omitted.
Extended mnemonic for
bcctr 12,4∗cr_field+2
beqctrl
Extended mnemonic for
bcctrl 12,4∗cr_field+2
(LR)
← CIA + 4.
bfctr cr_bit Branch, if CR
cr_bit
= 0, to address in CTR.
Extended mnemonic for
bcctr 4,cr_bit
bfctrl
Extended mnemonic for
bcctrl 4,cr_bit
(LR)
← CIA + 4.
bgectr [cr_field] Branch, if greater than or equal, to address in CTR.
Use CR0 if cr_field is omitted.
Extended mnemonic for
bcctr 4,4∗cr_field+0
bgectrl
Extended mnemonic for
bcctrl 4,4∗cr_field+0
(LR)
← CIA + 4.
bgtctr [cr_field] Branch, if greater than, to address in CTR.
Use CR0 if cr_field is omitted.
Extended mnemonic for
bcctr 12,4∗cr_field+1
bgtctrl
Extended mnemonic for
bcctrl 12,4∗cr_field+1
(LR)
← CIA + 4.
blectr [cr_field] Branch, if less than or equal, to address in CTR.
Use CR0 if cr_field is omitted.
Extended mnemonic for
bcctr 4,4∗cr_field+1
blectrl
Extended mnemonic for
bcctrl 4,4∗cr_field+1
(LR)
← CIA + 4.
bltctr [cr_field] Branch, if less than, to address in CTR.
Use CR0 if cr_field is omitted.
Extended mnemonic for
bcctr 12,4∗cr_field+0
bltctrl
Extended mnemonic for
bcctrl 12,4∗cr_field+0
(LR)
← CIA + 4.