1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Simplify code generation

git-svn-id: svn://svn.cc65.org/cc65/trunk@827 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-07-29 09:07:43 +00:00
parent 1cfec2492e
commit c51a706830

View File

@ -1111,21 +1111,13 @@ void g_putind (unsigned Flags, unsigned Offs)
break;
case CF_INT:
if (Offs) {
ldyconst (Offs);
AddCodeLine ("jsr staxspidx");
} else {
AddCodeLine ("jsr staxspp");
}
ldyconst (Offs);
AddCodeLine ("jsr staxspidx");
break;
case CF_LONG:
if (Offs) {
ldyconst (Offs);
AddCodeLine ("jsr steaxspidx");
} else {
AddCodeLine ("jsr steaxspp");
}
ldyconst (Offs);
AddCodeLine ("jsr steaxspidx");
break;
default: