English
Language : 

SAB80C166W Datasheet, PDF (14/67 Pages) Siemens Semiconductor Group – C16x-Family of High-Performance CMOS 16-Bit Microcontrollers
SAB 80C166W/83C166W
The SAB 80C166W/83C166W also provides an excellent mechanism to identify and to process
exceptions or error conditions that arise during run-time, so-called ‘Hardware Traps’. Hardware
traps cause immediate non-maskable system reaction which is similar to a standard interrupt
service (branching to a dedicated vector table location). The occurence of a hardware trap is
additionally signified by an individual bit in the trap flag register (TFR). Except when another higher
prioritized trap service is in progress, a hardware trap will interrupt any actual program execution. In
turn, hardware trap services can normally not be interrupted by standard or PEC interrupts.
The following table shows all of the possible exceptions or error conditions that can arise during run-
time:
Exception Condition
Reset Functions:
Hardware Reset
Software Reset
Watchdog Timer Overflow
Class A Hardware Traps:
Non-Maskable Interrupt
Stack Overflow
Stack Underflow
Class B Hardware Traps:
Undefined Opcode
Protected Instruction
Fault
Illegal Word Operand
Access
Illegal Instruction Access
Illegal External Bus
Access
Reserved
Software Traps
TRAP Instruction
Trap
Flag
Trap
Vector
Vector
Location
RESET
RESET
RESET
0000H
0000H
0000H
NMI
STKOF
STKUF
NMITRAP 0008H
STOTRAP 0010H
STUTRAP 0018H
UNDOPC BTRAP
PRTFLT BTRAP
ILLOPA BTRAP
ILLINA
ILLBUS
BTRAP
BTRAP
0028H
0028H
0028H
0028H
0028H
[002CH –
003CH]
Any
[0000H –
01FCH]
in steps
of 04H
Trap
Number
Trap
Priority
00H
III
00H
III
00H
III
02H
II
04H
II
06H
II
0AH
I
0AH
I
0AH
I
0AH
I
0AH
I
[0BH – 0FH]
Any
Current
[00H – 7FH] CPU
Priority
Semiconductor Group
14