P60ARM-B/IG/GP1N Zarlink Semiconductor, Inc., P60ARM-B/IG/GP1N Datasheet - Page 31

no-image

P60ARM-B/IG/GP1N

Manufacturer Part Number
P60ARM-B/IG/GP1N
Description
A Low Power, General Purpose 32 Bit RISC Microprocessor
Manufacturer
Zarlink Semiconductor, Inc.
Datasheet
The form of the shift field which might be expected to give ROR #0 is used to encode a special function of
the barrel shifter, rotate right extended (RRX). This is a rotate right by one bit position of the 33 bit quantity
formed by appending the CPSR C flag to the most significant end of the contents of Rm as shown in Figure
14: Rotate Right Extended.
Register specified shift amount
Only the least significant byte of the contents of Rs is used to determine the shift amount. Rs can be any
general register other than R15.
If this byte is zero, the unchanged contents of Rm will be used as the second operand, and the old value of
the CPSR C flag will be passed on as the shifter carry output.
If the byte has a value between 1 and 31, the shifted result will exactly match that of an instruction specified
shift with the same value and shift operation.
If the value in the byte is 32 or more, the result will be a logical extension of the shift described above:
(1)
(2)
(3)
(4)
C
in
31
31
LSL by 32 has result zero, carry out equal to bit 0 of Rm.
LSL by more than 32 has result zero, carry out zero.
LSR by 32 has result zero, carry out equal to bit 31 of Rm.
LSR by more than 32 has result zero, carry out zero.
Figure 14: Rotate Right Extended
Figure 13: Rotate Right
value of operand 2
value of operand 2
contents of Rm
contents of Rm
Instruction Set - Shifts
5 4
1
carry out
0
0
carry
out
27

Related parts for P60ARM-B/IG/GP1N