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

no-image

ST20-C1

Manufacturer Part Number
ST20-C1
Description
Instruction Set Reference Manual
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
enqueue
Code: 23 F7
Description: Add the process indicated by the process descriptor in Breg to the
queue structure in Areg. The queue control block is defined in Chapter 7.
Definition:
Status Register:
Comments:
See also: dequeue, stop
if (word[Areg @ q.FPtrLoc] = NotProcess)
{
}
else
{
}
Areg
Breg
Creg
No effect
Secondary instruction.
This instruction may require 4 memory accesses. If the queue structure is in off-
chip memory then interrupt latency may be affected.
Areg must be word aligned (i.e. divisible by 4).
Chapter 7.
word [Areg @ q.FPtrLoc]
word Areg @ q.BPtrLoc]
word [word[Areg @ q.BPtrLoc] @ pw.Link]
word Areg @ q.BPtrLoc]
undefined
undefined
undefined
Breg
Breg
Breg
8 Instruction Set Reference
enqueue a process
Breg
-- queue is empty
105/205

Related parts for ST20-C1