Motorola CPU32 Reference Manual page 269

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

6.2 Processing of Specific Exceptions
The following paragraphs provide details concerning sources of specific
exceptions, how each arises, and how each is processed.
6.2.1 Reset
Assertion of RESET by external hardware, or assertion of the internal RESET
signal by an internal module, causes a reset exception. The reset exception
has the highest priority of any exception. Reset is used for system initialization
and for recovery from catastrophic failure.
The. reset exception aborts any
processing in progress when it is recognized, and that processing cannot be
recovered. Reset performs the following operations:
1. Clears TO and T1 in the status register to disable tracing
2. Sets the S bit in the status register to establish supervisor privilege
3. Sets the interrupt priority mask to the highest priority level (%111)
4. Initializes the vector base register to zero ($00000000)
5. Generates a vector number to reference the reset exception vector
6. Loads the first long word of the vector into the interrupt stack pointer
7. Loads the second long word of the vector into the program counter
8. Fetches and initiates decode of the first instruction to be executed
Figure 6-2 is a flowchart of the reset exception
After initial instruction prefetches, normal program execution begins at the
address in the program counter. The reset exception does not save the value of
either the program counter or the status register.
If a bus error or address error occurs during reset exception processing
sequence, a double bus fault occurs. The processor halts, and the HALT Signal
is asserted to indicate the halted condition.
Execution of the RESET instruction does not cause a reset exception nor does it
affect any internal CPU register, but it does cause the CPU32 to assert the
RESET signal, resetting all internal and external peripherals.
MOTOROLA
6-6
EXCEPTION PROCESSING
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents