296
K
A
DAK
AMX 86 Procedures
ajsgres ajsgresPurpose Reset Pending Task Signals
Used by n Task o IS P o Timer Procedure o Restart Procedure n Exit Procedure
Setup unsigned int tsignals;
.
.
ajsgres(tsignals);
BX[14..0]
BX[15]=0
Where tsignals is a 15-bit mask identifying the task signals to be reset. Only
the least significant 15 bits of tsignals (bits 0 to 14) are used. Set a
bit to force the reset of the corresponding task signal. All other bits
must be 0.
Results Interrupts are untouched.
The task signals specified by tsignals are reset. All other task signals
are unaltered.
Restriction A task can only reset its own task signals. It cannot reset the task signals
of any other task.
Note AMX procedure ajwapr is a simplified form of procedure ajsgres in
which one predefined private AMX task signal is used.
See Also ajsgwat, ajsgnl, ajsgrd, ajwapr