From 53842b2b4e94e3f3a10a93bb7fc0e96df852f071 Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Thu, 13 Aug 2020 16:41:55 +0200 Subject: [PATCH] Set the name of the 65c816 XCE opcode to detect it on traces --- core6502/cmos65c02.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core6502/cmos65c02.go b/core6502/cmos65c02.go index e112002..075bf6b 100644 --- a/core6502/cmos65c02.go +++ b/core6502/cmos65c02.go @@ -57,6 +57,9 @@ func add65c02NOPs(opcodes *[256]opcode) { opcodes[i+0x0b] = nop11 // BBR and BBS: opcodes[i+0x0f] = nop11 } + + // Detection of 65c816 + opcodes[0xbf].name = "XCE" } var opcodes65c02Delta = [256]opcode{