NORETURN


ANSI

 

The NORETURN instruction removes the top element from the subroutine call stack. This cancels the ability to RETURN from the last CALL instruction. The instruction uses the following format:

 

 

[label]

NORETURN

 

Where:

label

Optional. A Program Execution Label.

Flags Affected: OVER

Note the following:

  1. The top element of the subroutine call stack is removed, eliminating the ability to RETURN from the last subroutine call initiated.

  2. If a FILEPI instruction is active, the FILEPI count is not decremented by this instruction.

  3. If the subroutine call stack is empty, the OVER Condition Flag is set.

 

 

See Also: Example Code, CALL, RETURN, Program Control Instructions

 



PL/B Language Reference NOBREAK PAUSE