32x: drc: more bugfixing
[picodrive.git] / cpu / sh2 / mame / sh2dasm.c
index 172193a..06f3057 100644 (file)
@@ -535,7 +535,8 @@ static UINT32 op1100(char *buffer, UINT32 pc, UINT16 opcode)
                sprintf(buffer, "MOV.L   @($%04X,GBR),R0", (opcode & 0xff) * 4);\r
                break;\r
        case  7:\r
-               sprintf(buffer, "MOVA    @($%04X,PC),R0", (opcode & 0xff) * 4);\r
+               sprintf(buffer, "MOVA    @($%04X,PC),R0  ; @$%08x", (opcode & 0xff) * 4,\r
+                       ((pc + 2) & ~3) + (opcode & 0xff) * 4);\r
                break;\r
        case  8:\r
                sprintf(buffer, "TST     #$%02X,R0", opcode & 0xff);\r