diff options
| author | Andrew Chambers <[email protected]> | 2021-10-19 15:51:57 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-19 15:51:57 +1300 |
| commit | 375efafb6aeb486ff2b079e8464d4b746ba4f213 (patch) | |
| tree | 198682c60c1d1adb53ac865a64b072b9d56d61d7 /main.c | |
| parent | 480677bcfc6d83cf2e1428bdaeed6eb81dbe6700 (diff) | |
Restore memory calls.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -488,9 +488,8 @@ assemblecall(const Call* call) if (call->indirect) { if (call->target.indirect->kind == ASM_MEMARG) { - rex = (Rex){ 0 }; - abort(); // assemblemem(&call->target.indirect->memarg, rex, -1, - // 0xff, 0x02); + rex = (Rex){0}; + assemblemem(&call->target.indirect->memarg, rex, -1, 0xff, 0x02, 0); } else { rm = regbits(call->target.indirect->kind); rex = (Rex){ .b = !!(rm & (1 << 3)) }; |
