aboutsummaryrefslogtreecommitdiff
path: root/asm/parser.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:47:19 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:47:19 +0000
commit44125d7ad9fedbe693136969bf4a11d8c33bcab1 (patch)
tree14fa7e21e1562d41418fbb8dabaeda78d862d22e /asm/parser.c
parentea715c569eba9cc8310e15ce2e3ded9723a5e8c1 (diff)
downloadovm-44125d7ad9fedbe693136969bf4a11d8c33bcab1.tar.gz
ovm-44125d7ad9fedbe693136969bf4a11d8c33bcab1.tar.bz2
ovm-44125d7ad9fedbe693136969bf4a11d8c33bcab1.zip
Implemented OP_MSIZE into lexer/parser of ASM
Diffstat (limited to 'asm/parser.c')
-rw-r--r--asm/parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/parser.c b/asm/parser.c
index a7340f9..73cd7be 100644
--- a/asm/parser.c
+++ b/asm/parser.c
@@ -233,6 +233,9 @@ perr_t parse_next_inst(token_stream_t *stream, inst_t *ret)
case TOKEN_MDELETE:
ret->opcode = OP_MDELETE;
break;
+ case TOKEN_MSIZE:
+ ret->opcode = OP_MSIZE;
+ break;
case TOKEN_NOT:
ret->opcode = OP_NOT_BYTE;
return parse_utype_inst(stream, ret);