SourMesen / Mesen-S

Mesen-S is a cross-platform (Windows & Linux) SNES emulator built in C++ and C#
GNU General Public License v3.0
415 stars 100 forks source link

Wrong Debugger Dissassembly #148

Open Domkeykong opened 4 years ago

Domkeykong commented 4 years ago

Disassembly for SPC in alternative Mnemonics mode produces incorrect address for ($d8 $XX) MOV d, X; d has some other value than $XX. 16-bit Operations show wrongly resolved Address+1. JMP [abs,x] (JMP [!abs+X]) show wrongly resolved Address+1. BBS, BBC, CBNE, JSTX (TCALL X) Mnemonics show wrong resolved Address. STA abs (MOV !abs, A), SET1 (TSET1) CLR1 (TCLR1), ANDC (AND1), ORC (OR1), EORC (EOR1), NOT (NOT1), LDC/STC (MOV1), JSP u (PCALL u), doesnt show resolved destination address. OR dp, dp doesnt show resolved destination address (maybe show the first operand (dest)).