diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-17 23:07:03 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-17 23:07:03 +0200 |
| commit | d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e (patch) | |
| tree | df682bb6383994c1ef0f445663dc4c8f5fcd7e56 /lib/xixanta/src/opcodes.rs | |
| parent | d8c0eca58080d2f69c26bfb6fe9d123fc4d8daeb (diff) | |
| download | tools.nes-d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e.tar.gz tools.nes-d479b0fbd3778f5b6fc8b63f46aa0c5364e4fe7e.zip | |
Fix the opcode for the 'sed' instruction
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta/src/opcodes.rs')
| -rw-r--r-- | lib/xixanta/src/opcodes.rs | 4 |
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], }, |
