aboutsummaryrefslogtreecommitdiff
path: root/src/inst.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 01:19:08 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 01:20:11 +0100
commit4d9b8a04f2b38985470d61971fc7b04104a22937 (patch)
tree3d22b128528728a07613ab2c0fa71cc0320c28f2 /src/inst.h
parenta4c9b85c79714792403220ef4ffbdb6bc20fcec1 (diff)
downloadovm-4d9b8a04f2b38985470d61971fc7b04104a22937.tar.gz
ovm-4d9b8a04f2b38985470d61971fc7b04104a22937.tar.bz2
ovm-4d9b8a04f2b38985470d61971fc7b04104a22937.zip
Fixed error with OP_PUSH where bits weren't in the pattern of data_type_t
Diffstat (limited to 'src/inst.h')
-rw-r--r--src/inst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inst.h b/src/inst.h
index da58434..e5c6146 100644
--- a/src/inst.h
+++ b/src/inst.h
@@ -24,8 +24,8 @@ typedef enum
// 0b0001
OP_PUSH_BYTE = 0b00000001,
- OP_PUSH_WORD = 0b00000101,
- OP_PUSH_FLOAT = 0b00001001,
+ OP_PUSH_WORD = 0b00000011,
+ OP_PUSH_FLOAT = 0b00000101,
// 0b0010
OP_PUSH_BYTE_REGISTER = 0b00000010,
OP_PUSH_WORD_REGISTER = 0b00000110,