Fix bug in GetZPage_X and GetZPage_Y macros

This commit is contained in:
Aaron Culliney 2015-03-05 21:06:42 -08:00
parent 2ec4e46012
commit 9cbceac80b

View File

@ -348,11 +348,13 @@
#define GetZPage_X \
GetFromPC_B; \
add r0, r0, X_Reg; \
bic r0, #0x100; \
mov EffectiveAddr, r0;
#define GetZPage_Y \
GetFromPC_B; \
add r0, r0, Y_Reg; \
bic r0, #0x100; \
mov EffectiveAddr, r0;
#define ea_hi_prev r1