mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +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:
parent
1cfec2492e
commit
c51a706830
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user