User’s Manual
PPC440x5 CPU Core
Preliminary
Page 72 of 589
prgmodel.fm.
September 12, 2002
2.6.2 Integer Exception Register (XER)
The XER records overflow and carry indications from integer arithmetic and shift instructions. It also provides
a byte count for string indexed integer storage access instructions (lswx and stswx). Note that the term
exception in the name of this register does not refer to exceptions as they relate to interrupts, but rather to the
arithmetic exceptions of carry and overflow.
Figure 2-7 illustrates the fields of the XER, while Tables 2-25 and 2-26 list the instructions which update
XER[SO,OV] and the XER[CA] fields, respectively. The sections which follow the figure and tables describe
the fields of the XER in more detail.
Access to the XER is non-privileged.
Figure 2-7. Integer Exception Register (XER)
0
SO
Summary Overflow
0 No overflow has occurred.
1 Overflow has occurred.
Can be
set
by
mtspr
or by integer or auxiliary
processor instructions with the [o] option; can be
reset
by
mtspr
or by
mcrxr
.
1
OV
Overflow
0 No overflow has occurred.
1 Overflow has occurred.
Can be
set
by
mtspr
or by integer or allocated
instructions with the [o] option; can be
reset
by
mtspr
, by
mcrxr
, or by integer or allocated
instructions with the [o] option.
2
CA
Carry
0 Carry has not occurred.
1 Carry has occurred.
Can be
set
by
mtspr
or by certain integer arith-
metic and shift instructions; can be
reset
by
mtspr
, by
mcrxr
, or by certain integer arithmetic
and shift instructions.
3:24
Reserved
25:31
TBC
Transfer Byte Count
Used as a byte count by
lswx
and
stswx
; written
by
dlmzb
[.] and by
mtspr.
0
1
2
3
24 25
31
SO
OV
CA
TBC
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......