SPLat Logo

GoSubIfNZ LLLL

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

GoSubIfNZ LLLL

PC = (X <> 0) ? LLLL : (PC + 1); X=Y; Y=Z; Z=T

Tests the contents of X, Popping the register stack in the process, then executes a GoSub to the program line LLLL if X was nonzero.

This instruction has the alias (alternative name) GoSubIfT

Dialect restriction: This instruction is not implemented on boards prior to dialect D=3.

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

Do not confuse with GoIfNZ, which does not remember a line to return to.