diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-27 23:13:06 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-28 03:31:01 -0400 |
commit | effbb5ce401d3c8f78ff5465683a1bcd4a68c0b6 (patch) | |
tree | 0db7c50ddad509c340c6b51a7cbc48bd1669d210 /usr.bin/oasm/include | |
parent | 5e746b367abd36c3057130940dfad61636f5e925 (diff) |
oasm: Introduce OR mnemonic
Implement mnemonic for the OR instruction:
--
or x2, #3 ! x2 = x2 | 3
--
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/oasm/include')
-rw-r--r-- | usr.bin/oasm/include/oasm/lex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/oasm/include/oasm/lex.h b/usr.bin/oasm/include/oasm/lex.h index 69e98ff..c542c72 100644 --- a/usr.bin/oasm/include/oasm/lex.h +++ b/usr.bin/oasm/include/oasm/lex.h @@ -104,6 +104,7 @@ typedef enum { TT_MROD, /* 'mrod' */ TT_MROQ, /* 'mroq' */ TT_AND, /* 'and' */ + TT_OR, /* 'or' */ /* Register ops */ TT_MOV, /* 'mov' */ |