ST20-C1 STMICROELECTRONICS [STMicroelectronics], ST20-C1 Datasheet - Page 137

no-image

ST20-C1

Manufacturer Part Number
ST20-C1
Description
Instruction Set Reference Manual
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
run
Code: 23 F3
Description: Spawn a new process. Add the new process to the back of the process
queue defined b y the control block at SchedulerQptr . The task descriptor of the
process is in Areg; this identifies the process descr iptor block. The instruction pointer
and work space pointer must have been written in the process descriptor block of the
process at offsets pw.Iptr and pw.Wptr words.
Definition:
Status Register:
Comments:
See also: dequeue enqueue signal stop
if ( run trap handler installed )
else
{
}
No effect
Secondary instruction.
Areg must be word aligned (i.e. divisible by 4).
This instruction may require up to three on-chip memory accesses and one off-
chip. This may affect interrupt latency.
Chapter 7 .
take run trap
if (word [SchedulerQptr @ q.FPtrLoc] = NotProcess)
{
}
else
{
}
Areg
Breg
Creg
word [SchedulerQptr @ q.FPtrLoc]
word SchedulerQptr @ q.BPtrLoc]
word [ word [SchedulerQptr @ q.BPtrLoc] @ pw.Link]
word SchedulerQptr @ q.BPtrLoc]
undefined
undefined
undefined
Areg
Areg
Areg
8 Instruction Set Reference
-- queue is empty
run process
Areg
137/205

Related parts for ST20-C1