diff --git a/disassemble.py b/disassemble.py index fe6c132..515c68b 100644 --- a/disassemble.py +++ b/disassemble.py @@ -248,7 +248,7 @@ def decode_memory_indexed(instr): def decode_memory_float(instr): def decode(value, addr): 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 decode