summaryrefslogtreecommitdiff
path: root/asmmon.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-08-09 17:52:46 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-08-09 17:52:46 -0400
commit2b03202a30e9da09bfc5c0d382b1f5d2287287a4 (patch)
tree6b918e0f2eee2b56e07a95d8b8397143d24f9106 /asmmon.h
parentf16af793a58a9f398fc598a0c129e3bb90eb61f6 (diff)
Added the bitwise OR, left shift, and right shift
expressions to the emulator's assembler.
Diffstat (limited to 'asmmon.h')
-rw-r--r--asmmon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/asmmon.h b/asmmon.h
index c77cfcf..6c71a4a 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -122,6 +122,7 @@ enum pre_token {
PTOK_MINUS,
PTOK_GT,
PTOK_LT,
+ PTOK_PIPE,
PTOK_LBRACK,
PTOK_RBRACK,
PTOK_COMMA,
@@ -146,6 +147,9 @@ enum expr {
EXPR_MINUS,
EXPR_LOW,
EXPR_HIGH,
+ EXPR_OR,
+ EXPR_LSHFT,
+ EXPR_RSHFT,
EXPR_NONE
};