1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +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:
uz 2009-08-16 21:01:16 +00:00
parent cbf4884f13
commit 1bd4abdc67

View File

@ -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 */