b9org / b9

An educational JS virtual machine based on Eclipse OMR
http://www.base9.xyz
Apache License 2.0
45 stars 24 forks source link

Add a cmp or eql instruction #113

Closed rwy7 closed 6 years ago

rwy7 commented 6 years ago

For signed integers, comparison can be done with subtraction. Since we don't support any other data types (not really, at least), I'm closing this issue.