summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-20 02:29:27 -0400
committerIan Moffett <ian@osmora.org>2025-07-20 02:36:56 -0400
commit561f87797c7ed2176bb684a6f4ead05758517377 (patch)
tree0cf377927680fecdfa88a376d95f0ae7ae742109
parentf41c27255f364076c5848526429a4e9f9e1c69ca (diff)
usr: oasm: Add IMM tokstr entry
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--usr.bin/oasm/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/oasm/parse.c b/usr.bin/oasm/parse.c
index 45c697a..7c5b94c 100644
--- a/usr.bin/oasm/parse.c
+++ b/usr.bin/oasm/parse.c
@@ -44,6 +44,7 @@ static const char *tokstr[] = {
[ TT_INC ] = "inc",
[ TT_DEC ] = "dec",
[ TT_MOV ] = "mov",
+ [ TT_IMM ] = "<imm>",
/* X<n> registers */
[ TT_X0 ] = "x0",