HP E2465A PowerPC 604 PGA User Manual page 47

Preprocessor interface
Table of Contents

Advertisement

Analyzing the PowerPC 604
Using the Inverse Assembler
The Extended dialect adds several extended opcodes for the rotate
instructions. For example, the function of the rlwirnn instruction
rlwinm r30 r30 16. 16. 31.
is to shift right word immediate, eg
srwi r30 r30 16.
The following listing shows the extended mnemonics for the integer rotate
instructions.
Mnemonic
Decoded As
rlwimi (rotate left word immediate
then mask insert)
rlwinm (rotate left word immediate
then AND with mask)
rlwnm (rotate left word then AND
with mask)
inslwi
insrwi
rotlwi
rotrwi
slwi
srwi
extlwi
extrwi
clrlwi
clrrwi
clrlslwi
rotlw
insert from left immediate
insert from right immediate
rotate left immediate
rotate right immediate
shift left immediate
shift right immediate
extract and left justify immediate
extract and right justify immediate
clear left immediate
clear right immediate
clear left and shift left immediate
rotate left
PowerPC assemblers support a number of extended mnemonics for some
popular assembly language instructions as described in the PowerPC
Architecture. The HP E2465A disassembler supports the following
extensions of dialect-sensitive instructions.
raw
simplified
extended
be %00100,2,FFF00230
bne cr0,FFF00230
bne cr0,FFF00230
tw % 10000,r5,r6
tw
lt,r5,r6
tw
lt,r5,r6
cmp cr1,0,r0,r16
cmpw cr1,r0,r16
cmpw cr1,r0,r16
ori rO,r0,0000
nap
nap
addi r6,r6,FCFC
subi r6,r6,0304
subi r6,r6,0304
subf r7 ,r19,rl 6
sub r7,r16,r19
sub r7,r16,r19
addi r3,0,7000
Ii r3,7000
Ii r3,7000
addis r3,0,7000
lis r3,7000
lis r3,7000
2-22
E2465A PowerPC 604 PGA Preprocessor

Advertisement

Table of Contents
loading

Table of Contents