AMX 86 Procedures
K
A
DAK
205
ajabl ajabl
Purpose Add to Bottom of Circular List
Used by n Task n IS P n Timer Procedure n Restart Procedure n Exit Procedure
Setup char item; /* one byte item */
int status;
.
.
status = ajabl(&list, item);
AX ES:BX CL,CX or DX:CX
Where &list is a pointer to a circular list (see ajrstl).
item is the 1, 2 or 4 byte item to be added to the list.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned.
0= Added OK; list not full
1= Added OK; list now full
-1 = Cannot add item; list is full
See Also ajrstl, ajatl, ajrtl, ajrbl