Fix sign in floating point load/store instruction disassembly

This commit is contained in:
Yannik Marchand 2018-09-26 17:16:11 +02:00
parent 44aa519c32
commit cacee30167

View File

@ -248,7 +248,7 @@ def decode_memory_indexed(instr):
def decode_memory_float(instr): def decode_memory_float(instr):
def decode(value, addr): def decode(value, addr):
D, A, d = decodeD(value) D, A, d = decodeD(value)
A = extend_sign(A) d = extend_sign(d)
return instr, "f%i, %s(r%i)" %(D, ihex(d), A) return instr, "f%i, %s(r%i)" %(D, ihex(d), A)
return decode return decode