TTIMER (Test Interval Timer) Macro

The macro is used to test how much time has elapsed of an interval, which was set in the same task by the associated SETIME macro.

The TTIMER macro returns the time that remains of the interval, expressed in hundredths of seconds in binary, in register 0.

Format

Read syntax diagramSkip visual syntax diagramnameTTIMERCANCEL

Requirements for the caller

AMODE:
24 or 31
RMODE:
24 or ANY
ASC Mode:
Primary

Parameters

CANCEL
If this is specified, the time interval that is set in that task is canceled. As a result, the interval timer interruption routine of the task, to which linkage might be established by an STXIT IT macro, does not receive control. If the corresponding SETIME macro specified the same name of a TECB, that TECB 's event bit is set to 1.
If you omit the operand, you can include a comment in the macro only if this comment begins with a comma.