Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST20-C1 Datasheet(PDF) 72 Page - STMicroelectronics

Part # ST20-C1
Description  Instruction Set Reference Manual
PDF  205 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-C1 Datasheet(HTML) 72 Page - STMicroelectronics

Back Button ST20-C1 Datasheet HTML 68Page - STMicroelectronics ST20-C1 Datasheet HTML 69Page - STMicroelectronics ST20-C1 Datasheet HTML 70Page - STMicroelectronics ST20-C1 Datasheet HTML 71Page - STMicroelectronics ST20-C1 Datasheet HTML 72Page - STMicroelectronics ST20-C1 Datasheet HTML 73Page - STMicroelectronics ST20-C1 Datasheet HTML 74Page - STMicroelectronics ST20-C1 Datasheet HTML 75Page - STMicroelectronics ST20-C1 Datasheet HTML 76Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 205 page
background image
6.2 Exception vector table
72/205
®
• el_illegal_instr_trap
This trap is taken when the CPU encounters an instruction with an illegal op-
code. If the trap is null then the instruction is treated as a
nop.
• el_idle_trap
This trap is taken when the CPU becomes idle, i.e. the current process exe-
cutes a
stop when there are no active processes waiting for CPU time, or a
timeslice is trapped or interrupted so that there are no active processes waiting
when the CPU attempts to start the next process. If the trap is null then the
CPU waits for an interrupt or for a process to be scheduled. This trap is used
by software scheduling kernels.
• el_schedule_exception_trap
This trap is taken when an interrupt is received from a peripheral and the
exception level is assigned to a user process, which will generally be desched-
uled waiting for the peripheral to complete a job. If the trap is null then the user
process is queued. This trap is used by software scheduling kernels.
• el_run_trap
This trap is taken when the
run instruction is executed. If the trap is null then
the CPU adds the process to the back of the scheduling queue. This trap is
used by software scheduling kernels.
• el_stop_trap
This trap is taken when the
stop instruction is executed. If the trap is null then
the current process is descheduled and the CPU starts executing the process
on the front of the scheduling queue, or goes idle if there is none. This trap is
used by software scheduling kernels.
• el_timeslice_trap
This trap is taken when a timeslice is due and enabled and the
timeslice
instruction is executed. If the trap is null then the current process is timesliced,
i.e. placed on the back of the scheduling queue. This trap is used by software
scheduling kernels.
Scheduling and timeslices are discussed in Chapter 7. Using user processes as
exceptions to handle peripherals is described in section 4.11.
6.2
Exception vector table
The
exception vector table maps each exception level to a user process or exception.
The base of the exception vector table is at the fixed address
ExceptionBase
(#80000040) in on-chip memory, and the exception level is the word offset from the
ExceptionBase to the vector. Thus the exception level is used as an index into the
exception vector table.
The address of the user process or exception is always word aligned, and so has bits
0 and 1 set to zero. The entry in the exception vector table is a
descriptor, which
consists of the address of the user process or exception ORed with a type. The
type is



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com