From 4847744518388aa9a14592a3eda1618294542517 Mon Sep 17 00:00:00 2001 From: Sam M W Date: Wed, 24 Apr 2024 14:51:08 +0100 Subject: [PATCH] correction to comment --- src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.rs b/src/cpu.rs index 3dd04c6..90e8dfa 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -156,7 +156,7 @@ impl CPU { // (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])) }