diff options
| author | Andrew Chambers <[email protected]> | 2021-10-06 01:25:33 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-06 01:25:33 +1300 |
| commit | 513cfa84f2e6b06e2ac8133cf1d3432fdbaf2f20 (patch) | |
| tree | 30be66bd6f55c3634180e30c65f020405bd2bcf8 /asm.peg | |
| parent | 7358b6242d46247286e9fec949795ddf098d1d3a (diff) | |
Add more commands.
Diffstat (limited to 'asm.peg')
| -rw-r--r-- | asm.peg | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ jmp = "jmp" ws i:ident mod-rm-binop = "add" a:mod-rm-binop-args { $$ = a; $$.kind = ASM_ADD; } | "and" a:mod-rm-binop-args { $$ = a; $$.kind = ASM_AND;} + | "or" a:mod-rm-binop-args { $$ = a; $$.kind = ASM_OR;} | "sub" a:mod-rm-binop-args { $$ = a; $$.kind = ASM_SUB;} | "xor" a:mod-rm-binop-args { $$ = a; $$.kind = ASM_XOR;} |
