MPC563XM Reference Manual, Rev. 1
900
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
23.4.9.2.11
Operations With Immediate Data
Immediate data can be used with some specific microinstruction formats. eTPU microcode allows 8-, 16-
or 24-bit immediate data. Immediate data is loaded as B-source, so T4BBS field is not available. When
using 24-bit immediate, an add is performed with A-source = 0 and flags are not updated. ALU operations
are available with 8-bit immediate, although the field that selects ALU operation in this case is ALUOPI.
24-bit Immediate Destination
When using 24-bit immediate data, the destination register is selected by T2D field (2 bits), according to
.
Enhanced ALU Operations With Immediate Data
Enhanced operations with immediate data, selected by ALUOPI (5 bits) are allowed only with an 8 bit
immediate operand (see
Table 23-76. 24-bit Immediate Destination - T2D
T2D
Target Register
00
P[23:0]
01
A[23:0]
10
SR[23:0]
11
DIOB[23:0]
Table 23-77. ALU Operation Selection With Immediate Data - ALUOPI
ALUOPI
Operation
Comment
00000
AS mults #imm8
signed multiplication
00001
AS multu #imm8
unsigned multiplication
00010
AS fmults #imm8
signed fractional multiplication
00011
AS fmultu #imm8
unsigned fractional multiplication
00100
AS div #imm8
unsigned division
00101
n.a.
reserved
00110
n.a.
reserved
00111
n.a.
reserved
01000
AD[7:0] = AS[7:0] | #imm8, AD[23:8] =
AS[23:8]
bitwise OR
01001
AD[7:0] = AS[7:0] ^ #imm8, AD[23:8] =
AS[23:8]
bitwise XOR
01010
AD[7:0] = AS[7:0] & #imm8, AD[23:8]
= AS[23:8]
bitwise AND
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