Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: PowerPC System Software /
Chapter 4 - Exception Manager / Exception Manager Reference
Data Structures


Register Information Records

The Exception Manager uses a register information record to encode the state of the general-purpose registers at the time an exception occurs. A register information record is defined by the RegisterInformation data type.

struct RegisterInformation {
   UnsignedWide         R0;
   UnsignedWide         R1;
   UnsignedWide         R2;
   UnsignedWide         R3;
   UnsignedWide         R4;
   UnsignedWide         R5;
   UnsignedWide         R6;
   UnsignedWide         R7;
   UnsignedWide         R8;
   UnsignedWide         R9;
   UnsignedWide         R10;
   UnsignedWide         R11;
   UnsignedWide         R12;
   UnsignedWide         R13;
   UnsignedWide         R14;
   UnsignedWide         R15;
   UnsignedWide         R16;
   UnsignedWide         R17;
   UnsignedWide         R18;
   UnsignedWide         R19;
   UnsignedWide         R20;
   UnsignedWide         R21;
   UnsignedWide         R22;
   UnsignedWide         R23;
   UnsignedWide         R24;
   UnsignedWide         R25;
   UnsignedWide         R26;
   UnsignedWide         R27;
   UnsignedWide         R28;
   UnsignedWide         R29;
   UnsignedWide         R30;
   UnsignedWide         R31;
};
typedef struct RegisterInformation RegisterInformation;
Field Description
R0
The contents of general-purpose register GPR0.
R1
The contents of general-purpose register GPR1.
R2
The contents of general-purpose register GPR2.
R3
The contents of general-purpose register GPR3.
R4
The contents of general-purpose register GPR4.
R5
The contents of general-purpose register GPR5.
R6
The contents of general-purpose register GPR6.
R7
The contents of general-purpose register GPR7.
R8
The contents of general-purpose register GPR8.
R9
The contents of general-purpose register GPR9.
R10
The contents of general-purpose register GPR10.
R11
The contents of general-purpose register GPR11.
R12
The contents of general-purpose register GPR12.
R13
The contents of general-purpose register GPR13.
R14
The contents of general-purpose register GPR14.
R15
The contents of general-purpose register GPR15.
R16
The contents of general-purpose register GPR16.
R17
The contents of general-purpose register GPR17.
R18
The contents of general-purpose register GPR18.
R19
The contents of general-purpose register GPR19.
R20
The contents of general-purpose register GPR20.
R21
The contents of general-purpose register GPR21.
R22
The contents of general-purpose register GPR22.
R23
The contents of general-purpose register GPR23.
R24
The contents of general-purpose register GPR24.
R25
The contents of general-purpose register GPR25.
R26
The contents of general-purpose register GPR26.
R27
The contents of general-purpose register GPR27.
R28
The contents of general-purpose register GPR28.
R29
The contents of general-purpose register GPR29.
R30
The contents of general-purpose register GPR30.
R31
The contents of general-purpose register GPR31.

IMPORTANT
The fields of a register information record are aligned in memory
in accordance with 680x0 alignment conventions.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996