Skip to content

Commit

Permalink
Fixed ARM coprocessor emulation
Browse files Browse the repository at this point in the history
See #140
  • Loading branch information
chrisn committed Aug 15, 2024
1 parent 88b8c7e commit cc66730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ void CArm::run()
{
uint rn = getField(currentInstruction, 16, 19); // base address register
uint rd = getField(currentInstruction, 12, 15); // get register to store
performDataTransferStoreWord(getRegister(rn) - getDataTransferValueImmediate(), (uint8)getRegisterWithPSRAndPipelining(rd));
performDataTransferStoreWord(getRegister(rn) - getDataTransferValueImmediate(), getRegisterWithPSRAndPipelining(rd));
break;
}
// ldr rd, [rn, -imm]
Expand Down

0 comments on commit cc66730

Please sign in to comment.