diff options
| author | Andrew Chambers <[email protected]> | 2021-10-11 02:59:49 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-11 02:59:49 +1300 |
| commit | 37540ce4b89c3f9dfc6184ce3cf9ed18866b6266 (patch) | |
| tree | 9d6fc8880f94edcd64d5a80abe73ac48178dd0ff /minias.h | |
| parent | 08dc724999e2d5616dc652a0d0d05b6edeecee02 (diff) | |
Add sib addressing.
Diffstat (limited to 'minias.h')
| -rw-r--r-- | minias.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -161,6 +161,7 @@ typedef enum { /* RIP is in a special class of its own. */ ASM_RIP, + ASM_NO_REG, ASM_REG_END, } AsmKind; @@ -213,7 +214,9 @@ typedef struct { typedef struct { AsmKind kind; - AsmKind reg; + AsmKind base; + AsmKind index; + uint8_t scale; const char *l; /* label */ int64_t c; /* constant */ } Memarg; |
