From d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 17 Aug 2026 23:07:03 +0200 Subject: Fix the opcode for the 'sed' 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(-) diff --git a/lib/xixanta/src/opcodes.rs b/lib/xixanta/src/opcodes.rs index a296aa5..e8d1e4c 100644 --- a/lib/xixanta/src/opcodes.rs +++ b/lib/xixanta/src/opcodes.rs @@ -3974,13 +3974,13 @@ pub static OPCODES: LazyLock> = LazyLock::new(|| { // sed ops.insert( - 0x38, + 0xF8, Instruction { identifier: InstructionIdentifier::Sed, addressing_mode: AddressingMode::Implied, cycles: 2, size: 1, - opcode: 0x38, + opcode: 0xF8, affected_on_page: false, bytes: [0, 0], }, -- cgit v1.2.3