mirror of
https://github.com/mre/mos6502.git
synced 2024-06-13 00:29:33 +00:00
fix typo
This commit is contained in:
parent
a93dc11e9c
commit
2fe611412f
|
@ -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 on the real 65C02, which is not implemented here.
|
// machine instruction 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…
Reference in New Issue
Block a user