S912XEG128J2VAL
Model | S912XEG128J2VAL |
Description | IC,MICROCONTROLLER,16-BIT,CPU12 CPU,CMOS,QFP,112PIN,PLASTIC |
PDF file | Total 1327 pages (File size: 7M) |
Chip Manufacturer | ROCHESTER |
Chapter 10 XGATE (S12XGATEV3)
Operation
RD
n
bits
n
= RS or IMM4
Rotates the bits in register RD
n
positions to the left. The lower
n
bits of the register RD are filled with the
upper
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
N
Z
V
C
∆
N:
Z:
V:
C:
∆
0
—
Set if bit 15 of the result is set; cleared otherwise.
Set if the result is $0000; cleared otherwise.
0; cleared.
Not affected.
Code and CPU Cycles
Source Form
ROL RD, #IMM4
ROL RD, RS
Address
Mode
IMM4
DYA
0
0
0
0
0
0
0
0
1
1
Machine Code
RD
RD
IMM4
RS
1
1
0
1
1
1
1
0
0
Cycles
P
P
MC9S12XE-Family Reference Manual , Rev. 1.19
442
Freescale Semiconductor
Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not
available from Freescale for import or sale in the United States prior to September 2010: S12XE products in 208 MAPBGA packages
ROL
Rotate Left
ROL