ST20-C1 STMICROELECTRONICS [STMicroelectronics], ST20-C1 Datasheet - Page 83
![no-image](/images/no-image-200.jpg)
ST20-C1
Manufacturer Part Number
ST20-C1
Description
Instruction Set Reference Manual
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST20-C1.pdf
(205 pages)
- Current page: 83 of 205
- Download datasheet (842Kb)
7.7
7.7.1
Before multi-tasking operations can be performed, the scheduling queue must be
initialized. The scheduling queue is described in section 7.3. The queue must be
initialized by setting it to empty, which means setting the front pointer to empty:
7.7.2
A process consists of code, a work space area, a process control block and the values
for the Iptr, Wptr and Tdesc. To create a process, a large enough work space is
created, and a process control block of three words. It may be convenient to put all the
process control blocks together in one area of memory. For fast context switches and
minimal interrupt latency, process control blocks should be in on-chip memory.
The entry point for the process code is written into pw.Iptr of the process control
block. The address of the top of the work space is written into pw.Wptr of the process
control block, so the process code must adjust the initial Wptr down using ajw to
create space for local variables.
Initializing multi-tasking
Initializing the scheduling queue
ld MostNeg; ld SchedulerQptr; stnl q.FPtrLoc;
Creating and starting a process
mac_count
mac_buffer
mac_scale
mac_mode
global_interrupt_enable
local_interrupt_enable
overflo w
underflo w
carry
user_mode
interrupt_mode
trap_mode
sleep
reserved
start_next_task
timeslice_enable
timeslice_count
Field or bit
Table 7.3 Restarted process status register
As in previous process.
As in previous process.
As in previous process.
As in previous process.
As in previous process.
Set.
False.
False.
False.
True.
False.
False.
False.
Undefined.
False.
As in previous process.
MaxTimesliceCount.
Value
7 Multi-tasking
83/205
Related parts for ST20-C1
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ST20](/images/no-image3.png)
Part Number:
Description:
ST20 software development and debugging tools
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![ST20-SWC++/PC](/images/no-image3.png)
Part Number:
Description:
C++ preprocessor for ST20 and T4/T8 transputers
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![ST20-JPI110](/images/no-image3.png)
Part Number:
Description:
PC PARALLEL PORT TO JTAG INTERFACE
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![ST20-PPI110](/images/no-image3.png)
Part Number:
Description:
PC PARALLEL PORT TO OS-LINK INTERFACE
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![st20-gp1](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Gps Processor
Manufacturer:
STMicroelectronics
Datasheet:
![st20-gp6](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Gps Processor
Manufacturer:
STMicroelectronics
Datasheet:
![TYN058](/images/no-image3.png)
Part Number:
Description:
THYRISTORS
Manufacturer:
ST Microelectronics
Datasheet:
![ST755](/images/no-image3.png)
Part Number:
Description:
ADJUSTABLE INVERTING NEGATIVE OUTPUT CURRENT MODE PWM REGULATORS
Manufacturer:
ST Microelectronics
Datasheet:
![P0102BL5AA4](/images/no-image3.png)
Part Number:
Description:
0.25A SCRs
Manufacturer:
ST Microelectronics
Datasheet:
![P0102DN5AA4](/images/no-image3.png)
Part Number:
Description:
0.8A SCRs
Manufacturer:
ST Microelectronics
Datasheet:
![ST19AF08](/images/no-image3.png)
Part Number:
Description:
Smartcard MCU With 4 additional I/0
Manufacturer:
ST Microelectronics
Datasheet:
![ST24C02](/images/no-image3.png)
Part Number:
Description:
SERIAL 2K (256 x 8) EEPROM
Manufacturer:
ST Microelectronics
Datasheet:
![P10NB50FP](/images/no-image3.png)
Part Number:
Description:
Search -----> STP10NB50FP
Manufacturer:
ST Microelectronics
Datasheet:
![P12NB30](/images/no-image3.png)
Part Number:
Description:
Search ---> STP12NB30
Manufacturer:
ST Microelectronics
Datasheet:
![P13NK50Z](/images/no-image3.png)
Part Number:
Description:
Search -----> STP13NK50Z
Manufacturer:
ST Microelectronics
Datasheet: