AMX 86 Procedures
K
A
DAK
283
ajrbl ajrbl
Purpose Remove from 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 = ajrbl(&list, &item);
AX ES:BX CL=, CX= or DX:CX=
Where &list is a pointer to a circular list (see ajrstl).
&item is a pointer to storage for the 1, 2 or 4 byte item to be removed from
the list. If &item is NULL (0L), the item is deleted from the list but is
not returned to the caller.
Results Interrupts are disabled and then restored to their state at the time of the
call.
Status is returned..
0= Removed OK; list not empty
1= Removed OK; list now empty
-1 = Cannot remove item; list is empty
See Also ajrstl, ajatl, ajabl, ajrtl