correction to comment

This commit is contained in:
Sam M W 2024-04-24 14:51:08 +01:00
parent 11d9540729
commit 4847744518
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ impl<M: Bus, V: Variant> CPU<M, V> {
// (Output: a 16-bit address)
// TODO: If the pointer ends in 0xff, then incrementing it would propagate
// the carry to the high byte of the pointer. This incurs a cost of one
// machine instruction on the real 65C02, which is not implemented here.
// machine cycle on the real 65C02, which is not implemented here.
let slice = read_address(memory, address_from_bytes(slice[0], slice[1]));
OpInput::UseAddress(address_from_bytes(slice[0], slice[1]))
}