
CPU32
REFERENCE MANUAL
PROCESSING STATES
MOTOROLA
5-3
If the frame was generated by an interrupt, breakpoint, trap, or instruction exception,
the status register and program counter are restored to the values saved on the su-
pervisor stack, and execution resumes at the restored program counter address, with
access level determined by the S bit of the restored status register.
If the frame was generated by a bus error or an address error exception, the entire pro-
cessor state is restored from the stack.
5.3 Types of Address Space
During each bus cycle, the processor generates function code signals that permit se-
lection of eight distinct 4-Gigabyte address spaces. Not all devices that incorporate the
CPU32 support a full complement of memory. (Refer to the appropriate user's manual
for details.) Selection varies according to the access required. Automatic selection of
supervisor and user space, and of program and data space, is provided. In addition,
certain special processor cycles, such as the interrupt acknowledge cycle or the LP-
STOP broadcast cycle are recognized, and appropriate codes are generated.
Table
5-1
shows function code values and the corresponding address space.
*Address space 3 is reserved for user definition;
0 and 4 are reserved for future use by Motorola.
Although an appropriate address space is selected, memory locations of user program
and data, and of supervisor data, within that address space are not predefined. Dur-
ing reset, two long words beginning at memory location zero in the supervisor program
space are used for processor initialization. No other memory locations are explicitly
defined by the CPU32.
5.3.1 CPU Space Access
Function code $7 ([FC2:FC0] = 111) selects CPU address space. The processor com-
municates with external devices for special purposes by accessing this space. All
M68000 processors use CPU space for interrupt acknowledge cycles. The CPU32
also uses CPU space for breakpoint acknowledge and the LPSTOP broadcast.
Supervisor programs can use the MOVES instruction to access all address spaces,
including user spaces and CPU address space. Although the MOVES instruction can
be used to generate CPU space cycles, doing so may interfere with proper system op-
eration. Exercise caution when using MOVES to access CPU space.
Table 5-1 Address Spaces
FC2
0
0
0
0
1
1
1
1
FC1
0
0
1
1
0
0
1
1
FC0
0
1
0
1
0
1
0
1
Address Space
Undefined Reserved*
User Data Space
User Program Space
Undefined Reserved*
Undefined Reserved*
Supervisor Data Space
Supervisor Program Space
CPU Space
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.