diff options
author | 2017-07-05 11:44:49 +0200 | |
---|---|---|
committer | 2017-11-26 17:41:27 +0100 | |
commit | 6caef2579a1490f05d28bcede731cbdd45fc5c65 (patch) | |
tree | 8055384e183be3cb27e7d0894ac53dc96c09e6fa /src/devices/cpu/nec/necmacro.h | |
parent | 34b222062c89adbeed822f56be6130421777e11f (diff) |
dvdisasm: Overhaul [O. Galibert]
Disassemblers are now independant classes. Not only the code is
cleaner, but unidasm has access to all the cpu cores again. The
interface to the disassembly method has changed from byte buffers to
objects that give a result to read methods. This also adds support
for lfsr and/or paged PCs.
Diffstat (limited to 'src/devices/cpu/nec/necmacro.h')
-rw-r--r-- | src/devices/cpu/nec/necmacro.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/nec/necmacro.h b/src/devices/cpu/nec/necmacro.h index c97f487cc2c..582c233979f 100644 --- a/src/devices/cpu/nec/necmacro.h +++ b/src/devices/cpu/nec/necmacro.h @@ -55,8 +55,8 @@ #define JMP(flag) \ int tmp; \ - EMPTY_PREFETCH(); \ - tmp = (int)((int8_t)FETCH()); \ + EMPTY_PREfetch(); \ + tmp = (int)((int8_t)fetch()); \ if (flag) \ { \ static const uint8_t table[3]={3,10,10}; \ @@ -98,7 +98,7 @@ Breg(AL) &= 0x0F #define BITOP_BYTE \ - ModRM = FETCH(); \ + ModRM = fetch(); \ if (ModRM >= 0xc0) { \ tmp=Breg(Mod_RM.RM.b[ModRM]); \ } \ @@ -108,7 +108,7 @@ } #define BITOP_WORD \ - ModRM = FETCH(); \ + ModRM = fetch(); \ if (ModRM >= 0xc0) { \ tmp=Wreg(Mod_RM.RM.w[ModRM]); \ } \ |