{ "functionlabeldef", "%s:" },
{ "*hl", "(hl)" },
{ "di", "di" },
+ { "ei", "ei" },
{ "ldahli", "ld a,(hl+)" },
{ "ldahlsp", "lda hl,%d(sp)" },
{ "ldaspsp", "lda sp,%d(sp)" },
"\tpush de\n"
"\tpush hl"
},
+ { "popa",
+ "pop hl\n"
+ "\tpop de\n"
+ "\tpop bc\n"
+ "\tpop af"
+ },
{ "adjustsp", "lda sp,-%d(sp)" },
{ "fileprelude", "" },
{ "profileenter",
{ "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" },
"push af\n"
"\tpush\tbc\n"
"\tpush\tde\n"
- "\tpush\thl"
+ "\tpush\thl\n"
+ "\tpush\tiy"
+ },
+ { "popa",
+ "pop iy\n"
+ "\tpop\thl\n"
+ "\tpop\tde\n"
+ "\tpop\tbc\n"
+ "\tpop\taf"
},
{ "adjustsp", "lda sp,-%d(sp)" },
{ "profileenter",
"\t; We have to define these here as sdcc dosnt make them global by default\n"
"\tGLOBAL __mulschar\n"
"\tGLOBAL __muluchar\n"
- "\tGLOBAL __mulsint\n"
- "\tGLOBAL __muluint\n"
+ "\tGLOBAL __mulint\n"
"\tGLOBAL __divschar\n"
"\tGLOBAL __divuchar\n"
"\tGLOBAL __divsint\n"
"\tGLOBAL __moduchar\n"
"\tGLOBAL __modsint\n"
"\tGLOBAL __moduint\n"
- "\tGLOBAL __mulslong\n"
+ "\tGLOBAL __mullong\n"
"\tGLOBAL __modslong\n"
"\tGLOBAL __divslong\n"
"\tGLOBAL banked_call\n"
"\tpush de\n"
"\tpush hl"
},
+ { "popa",
+ "pop hl\n"
+ "\tpop de\n"
+ "\tpop bc\n"
+ "\tpop af"
+ },
{ "di", "di" },
+ { "ei", "ei" },
{ "adjustsp", "add sp,-%d" },
{ "enter", "" },
{ "enterx", "add sp,-%d"
"\tCAPSOFF ; Case sensitive\n"
"\tISDMG ; Gameboy mode\n"
"_CODE\tGROUP\n"
- "\t; We have to define these here as sdcc dosnt make them global by default\n"
+ "\t; We have to define these here as sdcc doesnt make them global by default\n"
"\tGLOBAL __mulschar\n"
"\tGLOBAL __muluchar\n"
- "\tGLOBAL __mulsint\n"
- "\tGLOBAL __muluint\n"
+ "\tGLOBAL __mulint\n"
"\tGLOBAL __divschar\n"
"\tGLOBAL __divuchar\n"
"\tGLOBAL __divsint\n"
"\tpush de\n"
"\tpush hl"
},
+ { "popa",
+ "pop hl\n"
+ "\tpop de\n"
+ "\tpop bc\n"
+ "\tpop af"
+ },
{ "di", "di" },
+ { "ei", "ei" },
{ "adjustsp", "add sp,-%d" },
{ "enter", "" },
{ "enterx", "add sp,-%d"
"; Generated using the z80asm/z88 tokens.\n"
"\tXREF __muluchar_rrx_s\n"
"\tXREF __mulschar_rrx_s\n"
- "\tXREF __mulsint_rrx_s\n"
- "\tXREF __muluint_rrx_s\n"
- "\tXREF __mululong_rrx_s\n"
- "\tXREF __mulslong_rrx_s\n"
+ "\tXREF __mulint_rrx_s\n"
+ "\tXREF __mullong_rrx_s\n"
"\tXREF __divuchar_rrx_s\n"
"\tXREF __divschar_rrx_s\n"
"\tXREF __divsint_rrx_s\n"
{ "*iyx", "(iy%+d)" },
{ "*hl", "(hl)" },
{ "di", "di" },
+ { "ei", "ei" },
{ "ldahli",
"ld a,(hl)\n"
"\tinc\thl" },
"push af\n"
"\tpush\tbc\n"
"\tpush\tde\n"
- "\tpush\thl"
+ "\tpush\thl\n"
+ "\tpush\tiy"
+ },
+ { "popa",
+ "pop\tiy\n"
+ "\tpop\thl\n"
+ "\tpop\tde\n"
+ "\tpop\tbc\n"
+ "\tpop\taf"
},
{ "adjustsp", "lda sp,(sp%+d)" },
{ "profileenter",