From 8736745acd3594d1f6200cbfb56fee5f4b17885f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 27 Aug 2026 07:00:30 +0200 Subject: Fix cycle count for the plp instruction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/opcodes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/xixanta/src/opcodes.rs b/lib/xixanta/src/opcodes.rs index e8d1e4c..3884b86 100644 --- a/lib/xixanta/src/opcodes.rs +++ b/lib/xixanta/src/opcodes.rs @@ -3686,7 +3686,7 @@ pub static OPCODES: LazyLock> = LazyLock::new(|| { Instruction { identifier: InstructionIdentifier::Pla, addressing_mode: AddressingMode::Implied, - cycles: 3, + cycles: 4, size: 1, opcode: 0x68, affected_on_page: false, @@ -3700,7 +3700,7 @@ pub static OPCODES: LazyLock> = LazyLock::new(|| { Instruction { identifier: InstructionIdentifier::Plp, addressing_mode: AddressingMode::Implied, - cycles: 3, + cycles: 4, size: 1, opcode: 0x28, affected_on_page: false, -- cgit v1.2.3