SPLat Logo

GoIfXGT nn,LLLL

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

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