aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-08-17 23:07:03 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-08-17 23:07:03 +0200
commitd479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e (patch)
treedf682bb6383994c1ef0f445663dc4c8f5fcd7e56
parentd8c0eca58080d2f69c26bfb6fe9d123fc4d8daeb (diff)
downloadtools.nes-d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e.tar.gz
tools.nes-d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e.zip
Fix the opcode for the 'sed' instruction
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--lib/xixanta/src/opcodes.rs4
1 files 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<HashMap<u8, Instruction>> = 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],
},