
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
923
24.5.8.2.7
Multibit shift/rotate operations
These operations shift or rotate AS by 2, 4, 8 or 16 bits. Size of shift/rotate is determined by BS[1:0].
describes the number of shifted/rotated bits depending on BS[1:0] value.
Shift right is a logical operation (i.e., zeros are inserted on left). Multibit shift and rotate operations
overrides
BS size to 8 bits. The shifts and rotate operate on 24 bits, independently of the operation size.
V flag is never updated for multibit shift or rotate operations. Carry flag behavior is described on
. CIN is ignored in these operations, but BINV is effective.
24.5.8.2.8
Absolute value operation
Absolute Value operation is selected by ALUOP field. On this operation, AS is interpreted as a signed
number and its absolute value is the result. V and N flags are updated with the result signal determined by
the operation size. AS bit 23 after size override and sign extension (if any, see
), regardless of A-source register size, is used to check the operand signal and is copied to
Table 24-67. Number of shifted/rotated bits for each BS[1:0] value
BS[1:0]
Bits shifted/rotated
0
2
1
4
2
8
3
16
Table 24-68. Carry flag value on multibit shift/rotate operations
ALUOP
BS[1:0]
C flag value
1
1
CCS/CCSV can disable flag update on multibit shift/rotate, but the specified flag size in CCSV is ignored for the C
flag.
11001 (shift left)
0
AS[22]
11001 (shift left)
1
AS[20]
11001 (shift left)
2
AS[16]
11001 (shift left)
3
AS[8]
11010 (shift right)
0
AS[1]
11010 (shift right)
1
AS[3]
11010 (shift right)
2
AS[7]
11010 (shift right)
3
AS[15]
11011 (rotate right)
0
AS[2]
11011 (rotate right)
1
AS[4]
11011 (rotate right)
2
AS[8]
11011 (rotate right)
3
AS[16]
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...