SPLat Logo

CompareR

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

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