From 72c37c9f9e16ac8def6e352dcd1b9b5ddcd6feef Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Mon, 3 Sep 2018 18:37:53 -0400 Subject: [PATCH] generate derefed read code --- GUI/misc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GUI/misc.cpp b/GUI/misc.cpp index da1b3db..f83864a 100644 --- a/GUI/misc.cpp +++ b/GUI/misc.cpp @@ -224,7 +224,9 @@ namespace code += "V"; else code += "S"; - code += QString::number(hp.offset, 16); + if (hp.type & DATA_INDIRECT) + code += "*" + QString::number(hp.index, 16); + //code += QString::number(hp.offset, 16); code += "@"; code += QString::number(hp.address, 16); return code.toUpper();