aboutsummaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-01-06 20:39:26 +0100
committertomsmeding <tom.smeding@gmail.com>2018-01-06 20:39:26 +0100
commitc4a376d1c7263993f13e9cf276ebd9e530fd419c (patch)
treef36010f188778b1b7c30268fb8cdb723080e056f /ir.h
parent3272b5d83d2e2167eed24748557df88bd66584ee (diff)
Fix INS_NOT
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index 5d92eed..2390543 100644
--- a/ir.h
+++ b/ir.h
@@ -13,7 +13,7 @@ enum instype {
INS_DIV, // r0 = r1 / r2
INS_MOD, // r0 = r1 % r2
INS_NEG, // r0 = -r1
- INS_NOT, // r0 = !r1
+ INS_NOT, // r0 = ~r1
INS_TEST, // r1 & r2 (flags)
INS_PUSH, // push r1
INS_POP, // r0 = pop