diff options
Diffstat (limited to 'usr.bin/oasm/lex.c')
-rw-r--r-- | usr.bin/oasm/lex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/oasm/lex.c b/usr.bin/oasm/lex.c index 220cdb4..4c402be 100644 --- a/usr.bin/oasm/lex.c +++ b/usr.bin/oasm/lex.c @@ -55,6 +55,7 @@ static char putback = '\0'; #define S_IMN_MROD "mrod" #define S_IMN_MROQ "mroq" #define S_IMN_AND "and" +#define S_IMN_OR "or" /* Instruction length */ #define OSMX64_INST_LEN 4 @@ -245,6 +246,8 @@ token_bitw_mro(char *p) return TT_MROQ; } else if (strcmp(p, S_IMN_AND) == 0) { return TT_AND; + } else if (strcmp(p, S_IMN_OR) == 0) { + return TT_OR; } return TT_UNKNOWN; |