mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 153

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.4.1.2.3 Fixed-Point Exception Cause Register. The following table provides the bit
assignments for the fixed-point exception cause register (XER). The bits are based on the
final result produced by executing an instruction.
SO—Summary Overflow
This bit is set when an instruction other than mtspr sets the OV bit. Once SO is set, it stays
that way until an mtspr or mcrxr instruction clears it. It is not altered by compare instructions
or other instructions that cannot overflow. SO is cleared and OV is set when an mtspr
instruction is executed, which supplies the zero values for these bits.
OV—Overflow
When this bit is set, it indicates that an overflow has occurred during the execution of an
instruction. The add, subtract, and negate instructions with OE equal to 1, set this bit if the
carry out of the MSB is not equal to that carry out of the MSB+1. The multiply low and divide
instructions with OE equal to 1, set this bit if the result cannot be represented in 64 bits
(mulld, divd, divdu) or 32 bits (mullw, divw, divwu). The OV bit is not altered by compare
instructions that cannot overflow, except mtspr to the XER and mcrxr.
CA—Carry
This bit is set during execution of the following instructions. It is not altered by compare
instructions or by other instructions that cannot carry, except shift right algebraic, mtspr to
the XER, and mcrxr.
Bits 3–24—Reserved
These bits are reserved and must be set to 0.
BCNT—Byte Count for Load/Store String Operations
This field specifies the number of bytes to be transferred by a
XER
RESET
RESET
FIELD
FIELD
R/W
R/W
BIT
BIT
Add carrying, subtract from carrying, add extended, and subtract from extended
instructions set CA if there is a carry out of the MSB. Otherwise, it is cleared.
The shift right algebraic instructions set CA if any 1 bits have been shifted out of a
negative operand. Otherwise, it is cleared.
R/W
SO
16
0
0
R/W
OV
17
1
0
R/W
CA
18
2
0
Freescale Semiconductor, Inc.
For More Information On This Product,
19
3
RESERVED
R/W
20
MPC823 REFERENCE MANUAL
4
0
Go to: www.freescale.com
21
5
22
6
23
7
24
8
RESERVED
R/W
25
9
0
10
26
11
27
or stswx instruction.
BCNT
R/W
12
28
0
The PowerPC Core
13
29
14
30
6-23
15
31

Related parts for mpc823rg