diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-28 21:25:00 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-28 21:25:00 -0800 |
commit | 3faebceece9d2d6607699d2d17e026597b246003 (patch) | |
tree | bdd2c4fc65f084b0a6324287fe100c319113bae3 /gen_x86.c | |
parent | f416b0845a1e16b19e9f1149e6207cd45841296c (diff) |
Fix call_r in gen_x86 so that it properly returns a pointer to the location after the generated instruction
Diffstat (limited to 'gen_x86.c')
-rw-r--r-- | gen_x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1264,6 +1264,7 @@ uint8_t * call_r(uint8_t * out, uint8_t dst) { *(out++) = OP_SINGLE_EA; *(out++) = MODE_REG_DIRECT | dst | (OP_EX_CALL_EA << 3); + return out; } uint8_t * retn(uint8_t * out) |