mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 272

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 6 XGATE (S12XGATEV2)
ROR
Operation
n = RS or IMM4
Rotates the bits in register RD n positions to the right. The upper n bits of the register RD are filled with
the lower n bits. Two source forms are available. In the first form, the parameter n is contained in the
instruction code as an immediate operand. In the second form, the parameter is contained in the lower bits
of the source register RS[3:0]. All other bits in RS are ignored. If n is zero no shift will take place and the
register RD will be unaffected; however, the condition code flags will be updated.
CCR Effects
Code and CPU Cycles
272
N:
Z:
V:
C:
ROR RD, #IMM4
ROR RD, RS
N
Set if bit 15 of the result is set; cleared otherwise.
Set if the result is $0000; cleared otherwise.
0; cleared.
Not affected.
Z
V
0
Source Form
C
Address
MC9S12XDP512 Data Sheet, Rev. 2.17
Mode
IMM4
DYA
Rotate Right
0
0
0
0
n bits
RD
0
0
0
0
1
1
Machine Code
RD
RD
RS
IMM4
1
1
0
Freescale Semiconductor
1
1
ROR
1
1
1
1
Cycles
P
P

Related parts for mc9s12xd256