Fixed an error: When guessing the address size of an expression used in an
instruction that contains undefined symbols, and the effective address allows just one address size, use this size instead of the default data segment size. git-svn-id: svn://svn.cc65.org/cc65/trunk@5658 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -90,7 +90,7 @@ void GetEA (EffAddr* A)
|
||||
/* #val */
|
||||
NextTok ();
|
||||
A->Expr = Expression ();
|
||||
A->AddrModeSet = AM65_IMM;
|
||||
A->AddrModeSet = AM65_ALL_IMM;
|
||||
|
||||
} else if (CurTok.Tok == TOK_A) {
|
||||
|
||||
@@ -203,4 +203,4 @@ void GetEA (EffAddr* A)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user