DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST20-GP6 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST20-GP6
ST-Microelectronics
STMicroelectronics 
ST20-GP6 Datasheet PDF : 123 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
Low priority traps
High priority traps
ST20-GP6
CPU Error
trap handler
Scheduler
trap handler
Breakpoint
trap handler
System operations
trap handler
CPU Error
trap handler
Scheduler
trap handler
Breakpoint
trap handler
System operations
trap handler
Figure 4.4 Trap arrangement
There are four groups of traps, as detailed below.
• Breakpoint
This group consists of the Breakpoint trap. The breakpoint instruction (j0) calls the break-
point routine via the trap mechanism.
• Errors
The traps in this group are IntegerError and Overflow. Overflow represents arithmetic over-
flow, such as arithmetic results which do not fit in the result word. IntegerError represents
errors caused when data is erroneous, for example when a range checking instruction finds
that data is out of range.
• System operations
This group consists of the LoadTrap, StoreTrap and IllegalOpcode traps. The IllegalOpcode
trap is signalled when an attempt is made to execute an illegal instruction. The LoadTrap
and StoreTrap traps allow a kernel to intercept attempts by a monitored process to change
or examine trap handlers or trapped process information. It enables a user program to sig-
nal to a kernel that it wishes to install a new trap handler.
• Scheduler
The scheduler trap group consists of the ExternalChannel, InternalChannel, Timer,
TimeSlice, Run, Signal, ProcessInterrupt and QueueEmpty traps. The ProcessInterrupt
trap signals that the machine has performed a priority interrupt from low to high. The
QueueEmpty trap indicates that there is no further executable work to perform. The other
traps in this group indicate that the hardware scheduler wants to schedule a process on a
process queue, with the different traps enabling the different sources of this to be moni-
tored.
The scheduler traps enable a software scheduler kernel to use the hardware scheduler to
implement a multi-priority software scheduler.
Note that scheduler traps are different from other traps as they are caused by the micro-
scheduler rather than by an executing process.
Trap groups encoding is shown in Table 4.3 below. These codes are used to identify trap groups to
various instructions.
25/123

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]