From 282fa7725993c9b0b0d2bb0977c124f11abea1fd Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 8 Mar 2016 13:51:57 +0000 Subject: 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 --- src/z80.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/z80.c') 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; -- cgit v1.2.3