AT&T 3B2/300 Technical Reference Manual page 291

Table of Contents

Advertisement

FUNCTIONAL D E S C R I P T I O N - - - - - - - - - - - - - - - - - - - - - - - - - -
General Purpose Registers (r8-r0)
Nine general-purpose registers are used for accumulation, addressing, and for temporary data
storage. They can be used in any addressing mode by any program (privileged or nonprivileged).
Registers r2, rl, and rO are also implicitly used by certain other data transfer instructions and by certain
operating system instructions. Registers r2, rl, and rO are also used by the CPU as a scratch pad. The
contents of registers r8-r3 are part of the error report output by the
/etc/errdump
command.
Frame Pointer Register (r9)
The Frame Pointer (FP) register (r9) contents point to the beginning address (location) in the stack
of a function's local variables. The contents of register r9 are part of the error report output by the
/etc/errdump
command.
Argument Pointer Register (r10)
The Argument Pointer (AP) register (rlO) contents point to the starting address (location) in the
stack where a set of arguments for a function have been pushed. The contents of register rlO are part
of the error report output by the
/etc/errdump
command. This register is identified as "oap" in the
error report.
Processor Status Word Register (r11)
The Processor Status Word (PSW) register (rll) contains information that determines the current
execution state of the CPU. The PSW register is kernel level privileged. The contents of PSW register
(rll) are part of the error report output by the
/etc/errdump
command. This register is identified as
"psw" in the error report. The format of the PSW register is as follows.
PROCESSOR ST A TUS WORD REGISTER
BITS
31-26
25
24
23
22
21-18
17
16-13
12-11
10-09
08
07
06 -
03
02
01-00
FIELD
UNUSED
CFD
QIE
CD
OE
NZVC
TE
IPL
CM
PM
R
I
ISC
TM
ET
The PSW register fields are defined in the following paragraphs.
UNUSED
CFD
QIE
CD
OE
Bits 31-26 are not used and are always cleared [OJ.
Bit 25 is the Cache Flush Disable (CFO) bit. When set [1 J, instruction cache
flushing is disabled when a new process is loaded. When clear [OJ, the contents of
the cache are flushed when a new process is loaded.
Bit 24 is the Quick Interrupt Enable (QIE) bit. When set [1 J, the quick interrupt
handling facility is enabled. When clear [OJ, an interrupt causes a process switch to
a full interrupt processing sequence.
Bit 23 is the Cache Disable (CD) bit. When set [1 J, the instruction cache is not used.
When clear [OJ, the instruction cache is used to store and read text. Normally this
bit is clear [OJ.
Bit 22 is the Enable Overflow Trap (OE) bit. When set [1 J, overflow traps are
enabled. This bit is cleared when an overflow trap is detected and processed.
3-38
TECHNICAL REFERENCE MANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents