FreeCalypso > hg > freecalypso-reveng
changeset 232:2767ff8d26d5
tiobjd: same bug in ARM SWP decoding as in standalone armdis
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 21 Dec 2017 22:17:11 +0000 |
parents | 27c269e408af |
children | 4cd01d1458df |
files | leo-obj/tool/armdis.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/leo-obj/tool/armdis.c Thu Dec 21 22:15:00 2017 +0000 +++ b/leo-obj/tool/armdis.c Thu Dec 21 22:17:11 2017 +0000 @@ -209,7 +209,7 @@ regnames[word&0xF], regnames[(word>>8)&0xF]); else if ((word & 0x0FB00FF0) == 0x01000090) printf("swp%s%s\t%s, %s, [%s]\n", condition_decode[word>>28], - word&0x400000, "b", "", regnames[(word>>12)&0xF], + word&0x400000 ? "b" : "", regnames[(word>>12)&0xF], regnames[word&0xF], regnames[(word>>16)&0xF]); else printf("<invalid multiply>\n");