summaryrefslogtreecommitdiff
path: root/z80_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'z80_private.h')
-rw-r--r--z80_private.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/z80_private.h b/z80_private.h
index 2583766..86adaee 100644
--- a/z80_private.h
+++ b/z80_private.h
@@ -246,11 +246,7 @@ static inline Z80Word PEEKW(Z80Word addr)
PRIV->memptr.w=cpu->PC; \
} while(0)
-#define NOCALL do \
- { \
- PRIV->memptr.w=PEEKW(cpu->PC); \
- cpu->PC+=2; \
- } while(0)
+#define NOCALL cpu->PC+=2
#define JP do \
{ \
@@ -266,13 +262,7 @@ static inline Z80Word PEEKW(Z80Word addr)
PRIV->memptr.w=cpu->PC; \
} while(0)
-#define NOJR do \
- { \
- Z80Word addr=cpu->PC+ \
- (Z80Relative)PEEK(cpu->PC)+1; \
- PRIV->memptr.w=addr; \
- cpu->PC++; \
- } while(0)
+#define NOJR cpu->PC++
#define OUT(P,V) do \
{ \