aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/runtime.c b/vm/runtime.c
index 3279354..fd26024 100644
--- a/vm/runtime.c
+++ b/vm/runtime.c
@@ -655,7 +655,7 @@ VM_NOT_TYPE(word, WORD)
err = vm_pop_##TYPEL(vm, &b); \
if (err) \
return err; \
- return vm_push_byte(vm, DBYTE(a.as_##GETL COMP b.as_##GETL)); \
+ return vm_push_byte(vm, DBYTE(b.as_##GETL COMP a.as_##GETL)); \
}
VM_BITWISE_TYPE(or, |, byte, BYTE)