From 2fe611412f48f0fbbca12a78bda11fd6f4e6b4fd Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Wed, 24 Apr 2024 15:39:12 +0200 Subject: [PATCH] fix typo --- src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.rs b/src/cpu.rs index 8127c21..3dd04c6 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 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])); OpInput::UseAddress(address_from_bytes(slice[0], slice[1])) }