From effbb5ce401d3c8f78ff5465683a1bcd4a68c0b6 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 27 Jul 2025 23:13:06 -0400 Subject: oasm: Introduce OR mnemonic Implement mnemonic for the OR instruction: -- or x2, #3 ! x2 = x2 | 3 -- Signed-off-by: Ian Moffett --- usr.bin/oasm/include/oasm/lex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/oasm/include') 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' */ -- cgit v1.2.3