RETCOUNT
7.8.2, ANSI
The RETCOUNT instruction determines the number of entries in the return stack. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
count
Required. A previously defined Numeric Variable that receives the number of entries on the call stack.
Flags Affected: OVER, ZERO
Note the following:
If there are no entries on the return stack the ZERO flag is set.
If value of the number of entries is truncated when moving to {count}, the OVER flag is set.
See Also: Example Code, CALL, RETURN, NORETURN, Program Control Instructions
![]() |