mirror of
https://github.com/mre/mos6502.git
synced 2025-02-19 16:32:10 +00:00
correction to comment
This commit is contained in:
parent
11d9540729
commit
4847744518
@ -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]))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user