
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
945
01011
AD[7:0] = AS[7:0] & #imm8, AD[23:8]
= 0x0
bitwise AND with clear
01100
AD[15:8] = AS[15:8] | #imm8,
AD[23:16] = AS[23:16],
AD[7:0] = AS[7:0]
bitwise OR
01101
AD[15:8] = AS[15:8] ^ #imm8,
AD[23:16] = AS[23:16],
AD[7:0] = AS[7:0]
bitwise XOR
01110
AD[15:8] = AS[15:8] & #imm8,
AD[23:16] = AS[23:16],
AD[7:0] = AS[7:0]
bitwise AND
01111
AD[15:8] = AS[15:8] & #imm8,
AD[23:16] = 0x0,
AD[7:0] = 0x0
bitwise AND with clear
10000
AD[23:16] = AS[23:16] | #imm8,
AD[15:0] = AS[15:0]
bitwise OR
10001
AD[23:16] = AS[23:16] ^ #imm8,
AD[15:0] = AS[15:0]
bitwise XOR
10010
AD[23:16] = AS[23:16] & #imm8,
AD[15:0] = AS[15:0]
bitwise AND
10011
AD[23:16] = AS[23:16] & #imm8,
AD[15:0] = 0x0
bitwise AND with clear
10100
AS + #imm8
arithmetic addition
10101
(AS + #imm8) shl 1
arithmetic addition with 1-bit shift left.
10110
(AS + #imm8) shr 1
arithmetic addition with 1-bit shift right
10111
(AS + #imm8) ror 1
arithmetic addition with 1-bit rotate right
11000
n.a.
reserved
11001
AS shl (2^(#imm8[1:0]+1))
AS is shifted left: 2 bits for #imm8 = 0; 4 for #imm8 = 1;
8 for #imm8=2; 16 for #imm8=3
11010
AS shr (2^(#imm8[1:0]+1))
AS is shifted right: 2 bits for #imm8 = 0; 4 for #imm8 = 1;
8 for #imm8=2; 16 for #imm8=3
11011
AS ror (2^(#imm8[1:0]+1))
AS is rotated right: 2 bits for #imm8 = 0; 4 for #imm8 = 1;
8 for #imm8=2; 16 for #imm8=3
11100
AS exch #imm8[4:0]
exchange C flag and AS bit determined by #imm8[4:0] (see
Section 24.5.8.2.6, Exchange bit
)
11101
n.a.
reserved
11110
n.a.
reserved
11111
n.a.
reserved
Table 24-96. ALU Operation Selection With Immediate Data – ALUOPI (continued)
ALUOPI
Operation
Comment
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...