Motorola MPC823e Reference Manual page 1160

Microprocessor for mobile computing
Table of Contents

Advertisement

MPC823e Instruction Set
B.3 INSTRUCTION FIELDS
The table below shows the instruction fields used in the various instruction formats.
FIELD
AA (30)
Absolute address bit.
0
The immediate field represents an address relative to the current instruction address (CIA).
The effective (logical) address of the branch is either the sum of the LI field sign-extended to
32 bits and the address of the branch instruction or the sum of the BD field sign-extended to
32 bits and the address of the branch instruction.
1
The immediate field represents an absolute address. The effective address (EA) of the branch
is the LI field sign-extended to 32 bits or the BD field sign-extended to 32 bits. The LI and LD
fields are sign-extended to 32.
BD (16–29)
Immediate field specifying a 14-bit signed two's complement branch displacement that is
concatenated on the right with 0b00 and sign-extended to 32 bits.
BI (11–15)
This field is used to specify a bit in the CR to be used as the condition of a branch conditional
instruction.
BO (6–10)
This field is used to specify options for the branch conditional instructions.
crb A (11–15)
This field is used to specify a bit in the CR to be used as a source.
crb B (16–20)
This field is used to specify a bit in the CR to be used as a source.
CRM (12–19)
This field mask is used to identify the CR fields that are to be updated by the mtcrf instruction.
d (16–31)
Immediate field specifying a 16-bit signed two's complement integer that is sign-extended to 32 bits.
fr C (21–25)
NOT USED BY MPC823e.
fr D (6–10)
NOT USED BY MPC823e.
fr S (6–10)
NOT USED BY MPC823e.
IMM (16–19)
NOT USED BY MPC823e.
LI (6–29)
Immediate field specifying a 24-bit signed two's complement integer that is concatenated on the
right with 0b00 and sign-extended to 32 bits.
LK (31)
Link bit.
0
Does not update the link register (LR).
1
Updates the LR. If the instruction is a branch instruction, the address of the instruction
following the branch instruction is placed into the LR.
MB (21–25) and
These fields are used in rotate instructions to specify a 32 bit mask.
ME (26–30)
NB (16–20)
This field is used to specify the number of bytes to move in an immediate string load or store.
OE (21)
This field is used for extended arithmetic to enable setting OV and SO in the XER.
OPCD (0–5)
Primary opcode field
r A (11–15)
This field is used to specify a GPR to be used as a source or destination.
r B (16–20)
This field is used to specify a GPR to be used as a source.
Rc (31)
Record bit.
0
Does not update the condition register (CR).
1
Updates the CR to reflect the result of the operation.
For integer instructions, CR bits 0–2 are set to reflect the result as a signed quantity and CR
bit 3 receives a copy of the summary overflow bit, XER[SO]. The result as an unsigned quantity
or a bit string can be deduced from the EQ bit.
Exceptions are referred to as interrupts in the architecture specification.)
r D (6–10)
This field is used to specify a GPR to be used as a destination.
r S (6–10)
This field is used to specify a GPR to be used as a source.
B-2
DESCRIPTION
MPC823e REFERENCE MANUAL
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents