mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Fix CMPS.
This commit is contained in:
parent
9538491ee9
commit
da2aea94e3
@ -1408,7 +1408,7 @@ void cmps(const InstructionT &instruction, AddressT &eCX, AddressT &eSI, Address
|
||||
}
|
||||
|
||||
IntT lhs = memory.template access<IntT, AccessType::Read>(instruction.data_segment(), eSI);
|
||||
const IntT rhs = memory.template access<IntT, AccessType::Write>(Source::ES, eDI);
|
||||
const IntT rhs = memory.template access<IntT, AccessType::Read>(Source::ES, eDI);
|
||||
eSI += status.direction<AddressT>() * sizeof(IntT);
|
||||
eDI += status.direction<AddressT>() * sizeof(IntT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user