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 /minias.h | |
| parent | 7358b6242d46247286e9fec949795ddf098d1d3a (diff) | |
Add more commands.
Diffstat (limited to 'minias.h')
| -rw-r--r-- | minias.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,7 @@ typedef enum { ASM_LEAVE, ASM_ADD, ASM_AND, + ASM_OR, ASM_SUB, ASM_XOR, // Registers, order matters. @@ -138,7 +139,10 @@ typedef struct { } ModRMBinop; typedef ModRMBinop Add; +typedef ModRMBinop And; +typedef ModRMBinop Or; typedef ModRMBinop Sub; +typedef ModRMBinop Xor; union Parsev { AsmKind kind; @@ -148,6 +152,9 @@ union Parsev { Memarg memarg; ModRMBinop modrmbinop; Add add; + And and; + Or or; + Xor xor; Sub sub; Jmp jmp; Byte byte; |
