mirror of
https://github.com/cc65/cc65.git
synced 2025-08-10 20:25:20 +00:00
Fixed LoadAAt().
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user