The following charts give a brief description of the Exec list and queue
functions and assembler macros. See the Amiga ROM Kernel Reference
Manual: Includes and Autodocs for details about each call.
Table 23-1: Exec List and Queue Functions
_________________________________________________________________
| |
| Exec Function Description |
|=================================================================|
| AddHead() Insert a node at the head of a list. |
| AddTail() Append a node to the tail of a list. |
| Enqueue() Insert or append a node to a system queue. |
| FindName() Find a node with a given name in a system list. |
| Insert() Insert a node into a list. |
| IsListEmpty Test if list is empty |
| NewList() Initialize a list structure for use. |
| RemHead() Remove the head node from a list. |
| Remove() Remove a node from a list. |
| RemTail() Remove the tail node from a list. |
|_________________________________________________________________|
Table 23-2: Exec List and Queue Assembler Macros
_________________________________________________________________
| |
| Exec Function Description |
|=================================================================|
| NEWLIST Initialize a list header for use. |
| TSTLIST Test if list is empty (list address in register). |
| No arbitration needed. |
| TSTLST2 Test is list is empty (from effective address of |
| list). Arbitration needed. |
| SUCC Get next node in a list. |
| PRED Get previous node in a list. |
| IFEMPTY Branch if list is empty. |
| IFNOTEMPTY Branch if list is not empty. |
| TSTNODE Get next node, test if at end of list. |
| NEXTNODE Get next node, go to exit label if at end. |
| ADDHEAD Add node to head of list. |
| ADDTAIL Add node to tail of list. |
| REMOVE Remove node from a list. |
| REMHEAD Remove node from head of list. |
| REMHEADQ Remove node from head of list quickly. |
| REMTAIL Remove node from tail of list. |
|_________________________________________________________________|
[Back to Amiga Developer Docs]