bugfix in disassembly
authorslack <slack@codemaniacs.com>
Sat, 14 Mar 2009 19:23:15 +0000 (20:23 +0100)
committerslack <slack@codemaniacs.com>
Sat, 14 Mar 2009 19:23:15 +0000 (20:23 +0100)
core/disasm_macros.h

index 54a203efbecd2c28344d893335847a5a4429e35a..3386ba8ad326a8cb4a17372394a6646eadd136ee 100644 (file)
                op2.str  = toString(inm); \
                op1.type = Instruction::REG; \
                op1.reg  = Instruction::reg16; \
-               op2.type = Instruction::INM8; \
+               op2.type = Instruction::INM16; \
                op2.val  = inm; \
                break; \
        }