EasyManua.ls Logo

AMCC PPC405 - Page 372

Default Icon
450 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...
372 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
clrlwi RA, RS, n Clear left immediate. (n < 32)
(RA)
0:n1
n
0
Extended mnemonic for
rlwinm RA,RS,0,n,31
300
clrlwi. Extended mnemonic for
rlwinm. RA,RS,0,n,31
CR[CR0]
clrlslwi RA, RS, b, n Clear left and shift left immediate.
(n b < 32)
(RA)
bn:31n
(RS)
b:31
(RA)
32n:31
n
0
(RA)
0:bn1
bn
0
Extended mnemonic for
rlwinm RA,RS,n,bn,31n
300
clrlslwi. Extended mnemonic for
rlwinm. RA,RS,n,bn,31n
CR[CR0]
clrrwi RA, RS, n Clear right immediate. (n < 32)
(RA)
32n:31
n
0
Extended mnemonic for
rlwinm RA,RS,0,0,31n
300
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.
188
cmpi BF, 0, RA, IM Compare (RA) to EXTS(IM), signed.
Results in CR[CRn], where n = BF.
189
cmpl BF, 0, RA, RB Compare (RA) to (RB), unsigned.
Results in CR[CRn], where n = BF.
190
cmpli BF, 0, RA, IM Compare (RA) to (
16
0 || IM), unsigned.
Results in CR[CRn], where n = BF.
191
cmplw [BF,] RA, RB Compare Logical Word.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpl BF,0,RA,RB
190
cmplwi [BF,] RA, IM Compare Logical Word Immediate.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpli BF,0,RA,IM
191
cmpw [BF,] RA, RB Compare Word.
Use CR0 if BF is omitted.
Extended mnemonic for
cmp BF,0,RA,RB
188
cmpwi [BF,] RA, IM Compare Word Immediate.
Use CR0 if BF is omitted.
Extended mnemonic for
cmpi BF,0,RA,IM
189
cntlzw RA, RS Count leading zeros in RS.
Place result in RA.
192
cntlzw. CR[CR0]
crand BT, BA, BB AND bit (CR
BA
) with (CR
BB
).
Place result in CR
BT
.
193
crandc BT, BA, BB AND bit (CR
BA
) with ¬(CR
BB
).
Place result in CR
BT
.
194
crclr bx Condition register clear.
Extended mnemonic for
crxor bx,bx,bx
200
creqv BT, BA, BB Equivalence of bit CR
BA
with CR
BB
.
CR
BT
←¬(CR
BA
CR
BB
)
195
crmove bx, by Condition register move.
Extended mnemonic for
cror bx,by,by
198
crnand BT, BA, BB NAND bit (CR
BA
) with (CR
BB
).
Place result in CR
BT
.
196
Table A-1. PPC405 Instruction Syntax Summary (Continued)
Mnemonic Operands Function Other Registers Changed Page

Table of Contents