aboutsummaryrefslogtreecommitdiff
path: root/asm/parser.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 20:37:11 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 20:37:11 +0000
commit228f548bd9096415d3f9ee6cf0f5355f6c6f133b (patch)
tree4ff8d430fb811a23f87d75eebf731ce18e049170 /asm/parser.c
parentc534a53b6fe1de24374c2957cedf5940cae84f6c (diff)
downloadovm-228f548bd9096415d3f9ee6cf0f5355f6c6f133b.tar.gz
ovm-228f548bd9096415d3f9ee6cf0f5355f6c6f133b.tar.bz2
ovm-228f548bd9096415d3f9ee6cf0f5355f6c6f133b.zip
Changed asm/parser instruction push-reg->push.reg
Diffstat (limited to 'asm/parser.c')
-rw-r--r--asm/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/parser.c b/asm/parser.c
index cc97e1c..8292e39 100644
--- a/asm/parser.c
+++ b/asm/parser.c
@@ -169,7 +169,7 @@ perr_t parse_next_inst(token_stream_t *stream, inst_t *ret)
else if (token.str_size >= 4 && strncmp(opcode, "PUSH", 4) == 0)
{
size_t oplen = 5;
- if (token.str_size >= 8 && strncmp(opcode, "PUSH-REG", 8) == 0)
+ if (token.str_size >= 8 && strncmp(opcode, "PUSH.REG", 8) == 0)
{
oplen = 9;
ret->opcode = OP_PUSH_REGISTER_BYTE;