aboutsummaryrefslogtreecommitdiff
path: root/src/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-03-08 13:51:57 +0000
committerIan C <ianc@noddybox.co.uk>2016-03-08 13:51:57 +0000
commit282fa7725993c9b0b0d2bb0977c124f11abea1fd (patch)
treee798be921f3cfc51ef0ca39c195a07218defc8d8 /src/z80.c
parent3bad2fc2e05e0ddbf7d398f120b6d5d525476ff9 (diff)
Wildcard for args, EX changes and CP/M test.
+ Added '*' wildcard for macro arguments + Allow 'EX' with parameters reversed on the Z80 + Added simple CP/M example test. + Added some files to gitignore
Diffstat (limited to 'src/z80.c')
-rw-r--r--src/z80.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/z80.c b/src/z80.c
index ad42795..71bda75 100644
--- a/src/z80.c
+++ b/src/z80.c
@@ -1206,10 +1206,15 @@ CommandStatus EX(const char *label, int argc, char *argv[],
static RegisterPairCodes codes[] =
{
DE16, HL16, {0xeb},
+ HL16, DE16, {0xeb},
AF16, AF16_ALT, {0x08},
+ AF16_ALT, AF16, {0x08},
SP_ADDRESS, HL16, {0xe3},
+ HL16, SP_ADDRESS, {0xe3},
SP_ADDRESS, IX16, {SHIFT_IX, 0xe3},
- SP_ADDRESS, IY16, {SHIFT_IY, 0xe3}
+ IX16, SP_ADDRESS, {SHIFT_IX, 0xe3},
+ SP_ADDRESS, IY16, {SHIFT_IY, 0xe3},
+ IY16, SP_ADDRESS, {SHIFT_IY, 0xe3}
};
RegisterMode r1, r2;