PowerPC Instruction List
Integer |
Mnemonic |
Operand Syntax |
Process(memo) |
add | GRP3,GRP1,GRP2 | GRP3=GRP1+GRP2 |
add. | GRP19,GRP17,GRP18 |
GRP19=GRP17+GRP18(with CR0 update) |
addi | GRP5,GRP4,$0100 | GRP5=GRP4+100H(signed immediate) |
addis | GRP24,GRP23,$0100 | GRP5=GRP4+1000000H(100H << 16)(signed immediate) |
sub | GRP22,GRP20,GRP21 |
GRP22=GRP20-GRP21(sub don't have immediate) |
cmp | (0,)L,GRP6,GRP7 | ?(GRP6-GRP7)->CR0(L???) |
cmp | 1,L,GRP23,GRP24 | ?(GRP23-GRP24)->CR1 |
cmpl | (CR0,)L,GRP8,GRP9 | (GRP8?GRP9)->CR0(logical) |
and | GRP12,GRP10,GRP11 | GRP12=GRP10&GRP11 |
andi. | GRP14,GRP13,$0F5A |
GRP14=GRP13&0F5AH(unsigned immediate) |
or | GRP17,GRP15,GRP16 | GRP17=GRP15|GRP16 |
ori | GRP19,GRP18,$05AF |
GRP19=GRP18|05AFH(unsigned immediate) |
rlwinm | GRP6,GRP7,3,MB,ME | GRP6=GRP7 rotate 3(from MB to ME) |
slw | GRP10,GRP9,GRP8 | GRP10=GRP9<
|
srw | GRP13,GRP12,GRP11 | GRP13=GRP12>>GRP11(lower 6bits) |
srawi | GRP15,GRP14,4 | GRP15=GRP14>>4(signed immediate) |
Load and Store |
Mnemonic |
Operand Syntax |
Process(memo) |
lbz | GRP2,0(GRP3) | GRP2=data at GRP3 |
lbzu | GRP2,0(GRP3) | GRP2=data at GRP3 with update |
Branch and Flow Control |
Mnemonic |
Operand Syntax |
Process(memo) |
Vertual Environment Architecture |
Mnemonic |
Operand Syntax |
Process(memo) |
Operating Environment Architecture |
Mnemonic |
Operand Syntax |
Process(memo) |