From 9383ce79b4f1f006cb1a7f62f1fcc8016e31ad04 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 19 Feb 2014 00:22:27 -0800 Subject: Apart from the Z80 core, BlastEm now supports 32-bit x86 --- gen_x86.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gen_x86.c') diff --git a/gen_x86.c b/gen_x86.c index e7fa009..c062ac8 100644 --- a/gen_x86.c +++ b/gen_x86.c @@ -1756,7 +1756,7 @@ uint8_t * jcc(uint8_t * out, uint8_t cc, uint8_t * dest) disp >>= 8; *(out++) = disp; } else { - printf("%p - %p = %lX\n", dest, out + 6, disp); + printf("%p - %p = %lX\n", dest, out + 6, (long)disp); return NULL; } } @@ -1781,7 +1781,7 @@ uint8_t * jmp(uint8_t * out, uint8_t * dest) disp >>= 8; *(out++) = disp; } else { - printf("%p - %p = %lX\n", dest, out + 6, disp); + printf("%p - %p = %lX\n", dest, out + 6, (long)disp); return NULL; } } @@ -1813,7 +1813,7 @@ uint8_t * call(uint8_t * out, uint8_t * fun) *(out++) = disp; } else { //TODO: Implement far call??? - printf("%p - %p = %lX\n", fun, out + 5, disp); + printf("%p - %p = %lX\n", fun, out + 5, (long)disp); return NULL; } return out; -- cgit v1.2.3