mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Fixed LoadAAt().
This commit is contained in:
parent
bd5d5b7385
commit
4376b83390
@ -2614,7 +2614,7 @@ static int LoadAAt (CodeSeg* S, int Idx, const LoadRegInfo* LRI, Collection* Ind
|
||||
if (Use == REG_X) {
|
||||
X = NewCodeEntry (OP65_TXA, AM65_IMP, 0, 0, E->LI);
|
||||
CS_InsertEntry (S, X, Idx++);
|
||||
} else if (Use == REG_A) {
|
||||
} else if (Use == REG_Y) {
|
||||
X = NewCodeEntry (OP65_TYA, AM65_IMP, 0, 0, E->LI);
|
||||
CS_InsertEntry (S, X, Idx++);
|
||||
} else if (Use == REG_A) {
|
||||
|
Loading…
Reference in New Issue
Block a user