1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-02 20:41:33 +00:00

correction to comment

This commit is contained in:
Sam M W 2024-04-24 14:51:08 +01:00
parent 11d9540729
commit 4847744518

View File

@ -156,7 +156,7 @@ impl<M: Bus, V: Variant> CPU<M, V> {
// (Output: a 16-bit address) // (Output: a 16-bit address)
// TODO: If the pointer ends in 0xff, then incrementing it would propagate // 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 // 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])); let slice = read_address(memory, address_from_bytes(slice[0], slice[1]));
OpInput::UseAddress(address_from_bytes(slice[0], slice[1])) OpInput::UseAddress(address_from_bytes(slice[0], slice[1]))
} }