mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Use correct adddressing mode for "asl a".
git-svn-id: svn://svn.cc65.org/cc65/trunk@4030 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
cbf4884f13
commit
1bd4abdc67
@ -728,7 +728,7 @@ unsigned OptPtrLoad7 (CodeSeg* S)
|
||||
CodeLabel* Lab;
|
||||
|
||||
/* asl a */
|
||||
X = NewCodeEntry (OP65_ASL, AM65_IMP, "a", 0, L[0]->LI);
|
||||
X = NewCodeEntry (OP65_ASL, AM65_ACC, "a", 0, L[0]->LI);
|
||||
CS_InsertEntry (S, X, IP++);
|
||||
|
||||
/* Generate clc first, since we need the label */
|
||||
@ -756,7 +756,7 @@ unsigned OptPtrLoad7 (CodeSeg* S)
|
||||
CS_InsertEntry (S, X, IP++);
|
||||
|
||||
/* asl a */
|
||||
X = NewCodeEntry (OP65_ASL, AM65_IMP, "a", 0, L[0]->LI);
|
||||
X = NewCodeEntry (OP65_ASL, AM65_ACC, "a", 0, L[0]->LI);
|
||||
CS_InsertEntry (S, X, IP++);
|
||||
|
||||
/* rol tmp1 */
|
||||
|
Loading…
Reference in New Issue
Block a user