include vmm.inc mov ecx, TokenCount VMMCall Create_Semaphore jc error mov [Semaphore], eax
Allocates memory for and initializes a new semaphore. Uses EAX and Flags.
Destroy_Semaphore, Signal_Semaphore, Wait_Semaphore