Debugger: Fixed assembler bug with IndY addressing
This commit is contained in:
parent
03105846ff
commit
fcb28fd5a6
1 changed files with 1 additions and 0 deletions
|
@ -273,6 +273,7 @@ void Assembler::AssembleInstruction(LineData &lineData, uint16_t &instructionAdd
|
|||
bool modeMatch = opMode == lineData.Mode;
|
||||
if(!modeMatch) {
|
||||
if(lineData.Mode == AddrMode::Imp && opMode == AddrMode::Acc ||
|
||||
lineData.Mode == AddrMode::IndY && opMode == AddrMode::IndYW ||
|
||||
lineData.Mode == AddrMode::AbsY && opMode == AddrMode::AbsYW ||
|
||||
lineData.Mode == AddrMode::AbsX && opMode == AddrMode::AbsXW) {
|
||||
modeMatch = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue