Rlwnm; Table 9-28. Extended Mnemonics For Rlwnm, Rlwnm - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

Preliminary

rlwnm

Rotate Left Word then AND with Mask
rlwnm
RA, RS, RB, MB, ME
rlwnm.
RA, RS, RB, MB, ME
23
0
6
r
ROTL((RS), (RB)
m
MASK(MB, ME)
(RA)
r
m
The contents of register RS are rotated left by the number of bit positions specified by the contents of register
RB
. A mask is generated, having 1-bits starting at the bit position specified in the MB field and ending in
27:31
the bit position specified by the ME field with 0-bits elsewhere.
If the starting point of the mask is at a higher bit position than the ending point, the ones portion of the mask
wraps from the highest bit position back to the lowest. The rotated data is ANDed with the generated mask
and the result is placed into register RA.
Registers Altered
• RA
• CR[CR0] if Rc contains 1

Table 9-28. Extended Mnemonics for rlwnm, rlwnm.

Mnemonic
Operands
rotlw
RA, RS, RB
rotlw.
instrset.fm.
September 12, 2002
RS
RA
11
)
27:31
Rotate left.
(RA)
ROTL((RS), (RB) 27:31 )
Extended mnemonic for
rlwnm RA,RS,RB,0,31
Extended mnemonic for
rlwnm. RA,RS,RB,0,31
Rotate Left Word then AND with Mask
PPC440x5 CPU Core User's Manual
Rc=0
Rc=1
RB
MB
16
21
Function
rlwnm
ME
Rc
26
31
Other Registers
Altered
CR[CR0]
Page 403 of 589

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents