mirror of
https://github.com/cc65/cc65.git
synced 2025-02-07 04:31:38 +00:00
Adjustment for '816
This commit is contained in:
parent
3b3b16ee9c
commit
304473d857
@ -103,7 +103,7 @@ void GotoStatement (void)
|
||||
|
||||
if (CPUIsets[CPU] & CPU_ISET_65SC02) {
|
||||
AddCodeLine ("ldx #$%02X", val * 2);
|
||||
AddCodeLine ("jmp (%s,x)", arr->AsmName);
|
||||
AddCodeLine ("jmp (.loword(%s),x)", arr->AsmName);
|
||||
} else {
|
||||
AddCodeLine ("ldy #$%02X", val * 2);
|
||||
AddCodeLine ("lda %s,y", arr->AsmName);
|
||||
@ -118,7 +118,7 @@ void GotoStatement (void)
|
||||
|
||||
if (CPUIsets[CPU] & CPU_ISET_65SC02) {
|
||||
AddCodeLine ("tax");
|
||||
AddCodeLine ("jmp (%s,x)", arr->AsmName);
|
||||
AddCodeLine ("jmp (.loword(%s),x)", arr->AsmName);
|
||||
} else {
|
||||
AddCodeLine ("tay");
|
||||
AddCodeLine ("lda %s,y", arr->AsmName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user