include vmm.inc mov esi, List ; list handle VMMcall List_Remove_First jz list_empty ; zero flag set if list is empty mov [Node], eax ; address of node removed |
The List_Remove_First service removes the first node from a list.
List
Specifies the handle identifying a list. The handle must have been previously created using the List_Create service.
If the zero flag is clear, the EAX register contains the address of the node that was removed. If the list is empty, the zero flag is set and EAX contains zero.
This service does not free the node. It is up to the virtual device to free the node, or attach it to another list.
EAX, Flags