#
cmp
Compares two values and sets the CMP register.
- CMP = 1 if
xgreater thany - CMP = 0 if
xequalsy - CMP = -1 if
xless thany
#
Syntax
cmp <x> <y>
#
Parameters
#
Example
cmp r0, r1
cmp r2, 8
cmp 12, 55
#
History
- 0.1 added