X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fz80%2Fmappings.i;h=43d29afbb726fe089754411a2395c5ca127c33c1;hb=283ec58c3d36f26d72f5098f8e189eee66ef670f;hp=d77251244e1899f92edf2c34f373f5c8f814490d;hpb=67a7d48073f066e319f43a8e8e4e827d5c88afd3;p=fw%2Fsdcc diff --git a/src/z80/mappings.i b/src/z80/mappings.i index d7725124..43d29afb 100644 --- a/src/z80/mappings.i +++ b/src/z80/mappings.i @@ -7,6 +7,7 @@ static const ASM_MAPPING _asxxxx_gb_mapping[] = { { "functionlabeldef", "%s:" }, { "*hl", "(hl)" }, { "di", "di" }, + { "ei", "ei" }, { "ldahli", "ld a,(hl+)" }, { "ldahlsp", "lda hl,%d(sp)" }, { "ldaspsp", "lda sp,%d(sp)" }, @@ -60,10 +61,11 @@ static const ASM_MAPPING _asxxxx_z80_mapping[] = { { "areacode", ".area _%s" }, { "areadata", ".area _%s" }, { "areahome", ".area _%s" }, - { "*ixx", "%d(ix)" }, - { "*iyx", "%d(iy)" }, + { "*ixx", "%d (ix)" }, + { "*iyx", "%d (iy)" }, { "*hl", "(hl)" }, { "di", "di" }, + { "ei", "ei" }, { "ldahli", "ld a,(hl)\n" "\tinc\thl" }, @@ -193,6 +195,7 @@ static const ASM_MAPPING _rgbds_gb_mapping[] = { "\tpop af" }, { "di", "di" }, + { "ei", "ei" }, { "adjustsp", "add sp,-%d" }, { "enter", "" }, { "enterx", "add sp,-%d" @@ -284,6 +287,7 @@ static const ASM_MAPPING _isas_gb_mapping[] = { "\tpop af" }, { "di", "di" }, + { "ei", "ei" }, { "adjustsp", "add sp,-%d" }, { "enter", "" }, { "enterx", "add sp,-%d" @@ -361,6 +365,7 @@ static const ASM_MAPPING _z80asm_z80_mapping[] = { { "*iyx", "(iy%+d)" }, { "*hl", "(hl)" }, { "di", "di" }, + { "ei", "ei" }, { "ldahli", "ld a,(hl)\n" "\tinc\thl" },