384
K
A
DAK
AMX 86 Assembler Interface
PROCEDURE
C ASM PURPOSE P ARAMETERS IN OUT AX =
ERRORS E D R
Task Control
ajend AAEND End task execution no noo
(no return)
ajgmsg AAGMSG Get message from task mailbox A(Storage for message) ES:BX AERCWT onn
Mailbox priority (0 to 3) CX AERNMG
(4=highest priority message)
ajresum AARESUM Resume a task suspended by ajsu sp Task id DX AERNST onn
ajsend AASEND Start a task by sending it a message Task id DX AERNST onn
ajsendp at one of 4 priorities A(message) ES:BX AERNME
ajsenw Proceed = 0; Wait = 80H CH AERNMB
ajsenwp Priority (0 to 3) CL AERMBF
ajsgnl AASGNL Signal a task Task id DX AERNST on n
Signal mask BX AERWAT
Pending signals BX AERWKP
Signal overruns CX AERTNW
ajsgrd AASGRD Read pending task signals signals AX no ooo
ajsgres AASGRES Reset pending task signals signal mask BX no ooo
ajsgwat AASGWAT Wait for any/all of a set of signal mask BX AERTMO nno
task signals Wait all = 1; Wait any = 0 BX[15] AERTMV
Max. wait time (system ticks) DX:CX
(0:0 = forever)
signals received B X
ajsusp AASUSP Suspend a task Task id DX AERNST onn
ajtkcre AATKCRE Create a new task A(Tas k Definition) ES:BX AERITP onn
Assigned task id DX AERNTC
AERMBZ
ajtkdel AATKDEL Delete a task Task id DX AERNST onn
Priority for delete CX AERANA
ajtkid AATKID Get task identifier of current task Task id AX no ooo