SPLat Logo

CompareR

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

CompareR

CompareR makes a numeric comparison between X and Y, and leaves a result code in R.

The original X and Y values are not affected.

This instruction is functionally very close to the older Compare instruction, but takes advantage of the new R-register introduced in dialect 6. Also, it does not pop the stack

Dialect restriction: CompareR is implemented only in dialects 6 or later.

See also Compare BranchR