Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Supervisor
Mode Mode
All
exceptions
Hardware Software
(external) (internal)
Programmer
RESET Interrupts Bus error TRACE Errors Coprocessor
initiated
Address
CHK
error
Auto-
Vectored
vectored
Privilege
TRAPV
violation
Illegal
TRAP #n
instruction
Divide- Line A
Normal Spurious Un-initialized Normal Spurious
by-zero Line F
Exception request
occurs while
instruction i
is being executed
Program
being executed
Jump to the exception handler
… routine after finishing* execution
of instruction i
instruction i Exception
handling routine
…
instruction i+1
…
instruction i+3
…
*With the exception of RESET, BUS ERROR or ADDRESS
ERROR exceptions, which initiate exception processing within
two clock cycles
7 words
generated by traces, interrupts, illegal op-codes or privilege Access address (low word)
violations Instruction register
g GROUP 2 exceptions Status register
Program counter (high word)
n Occur as part of the normal instruction-execution sequence of
Program counter (low word)
a program
16 bits
3 words
Program counter (high word)
Program counter (low word)
16 bits