MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
901
Preliminary—Subject to Change Without Notice
23.4.9.3
Channel Control and Configuration Microoperations
Channel Control and Configuration fields set configuration values in the channel logic of the channel
selected by the CHAN register, except fields LSR and CIRC.
23.4.9.3.1
Channel Flags Operations
Each channel has two associated hardware flags, called Channel Flag 0 and Channel Flag 1. Microcode
field FLC (3 bits) allows them to be set or cleared, as shown in
. These flags can be tested by
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 23.4.8.2.6, “Exchange Bit
”)
11101
n.a.
reserved
11110
n.a.
reserved
11111
n.a.
reserved
Table 23-77. ALU Operation Selection With Immediate Data - ALUOPI
ALUOPI
Operation
Comment