IBM SA14-2339-04 Personal Computer User Manual


 
Instruction Summary A-13
clrrwi RA, RS, n Clear right immediate. (n < 32)
(RA)
32n:31
n
0
Extended mnemonic for
rlwinm RA,RS,0,0,31n
9-147
clrrwi.
Extended mnemonic for
rlwinm. RA,RS,0,0,31n
CR[CR0]
cmp BF, 0, RA, RB Compare (RA) to (RB), signed.
Results in CR[CRn], where n
= BF.
9-34
cmpi BF, 0, RA, IM Compare (RA) to EXTS(IM), signed.
Results in CR[CRn], where n
= BF.
9-35
cmpl BF, 0, RA, RB Compare (RA) to (RB), unsigned.
Results in CR[CRn], where n
= BF.
9-36
cmpli BF, 0, RA, IM Compare (RA) to (
16
0 || IM), unsigned.
Results in CR[CRn], where n
= BF.
9-37
cmplw [BF,] RA, RB Compare Logical Word.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpl BF,0,RA,RB
9-36
cmplwi [BF,] RA, IM Compare Logical Word Immediate.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpli BF,0,RA,IM
9-37
cmpw [BF,] RA, RB Compare Word.
Use CR0 if BF is omitted.
Extended mnemonic for
cmp BF,0,RA,RB
9-34
cmpwi [BF,] RA, IM Compare Word Immediate.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpi BF,0,RA,IM
9-35
cntlzw RA, RS Count leading zeros in RS.
Place result in RA.
9-38
cntlzw. CR[CR0]
crand BT, BA, BB AND bit (CR
BA
) with (CR
BB
).
Place result in CR
BT
.
9-39
crandc BT, BA, BB AND bit (CR
BA
) with ¬(CR
BB
).
Place result in CR
BT
.
9-40
crclr bx Condition register clear.
Extended mnemonic for
crxor bx,bx,bx
9-46
creqv BT, BA, BB Equivalence of bit CR
BA
with CR
BB
.
CR
BT
←¬(CR
BA
CR
BB
)
9-41
crmove bx, by Condition register move.
Extended mnemonic for
cror bx,by,by
9-44
crnand BT, BA, BB NAND bit (CR
BA
) with (CR
BB
).
Place result in CR
BT
.
9-42
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page