SPLat Logo

RetIfNZ

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

RetIfNZ

Tests contents of X and Pop's stack. Then, if X was nonzero (or True), returns program flow to the line following the most recently executed GoSub instruction.

If a return is attempted when there was no matching GoSub, SPLat/PC reports an error and the SPLat hardware resets.

This instruction has the alias (alternative name) RetIfT

See also Return, RetIfZ RetIfT, RetIfF, Gosub, GoSubIfZ, GoSubIfNZ, GoSubIfT, GoSubIfF