SPLat Logo

GoIfXGT nn,LLLL

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

GoIfXGT nn,LLLL

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

This is a conditional GoTo instruction. It compares the contents of X with the first argument nn and does a GoTo program line LLLL if X is Greater Than nn. X and nn are in the number range 0-255.

Also pops the stack, so the original contents of X are lost.

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

See also GoIfXEQ, GoIfXNE, GoIfXGE, GoIfXLT, GoIfXLE, GoIfZ, GoIfNZ