From cacee30167111472c3e7e86f589e9d28b1672628 Mon Sep 17 00:00:00 2001 From: Yannik Marchand Date: Wed, 26 Sep 2018 17:16:11 +0200 Subject: [PATCH] Fix sign in floating point load/store instruction disassembly --- disassemble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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