From 2a66e525b1e8b08e02eb593ff5a5e48e4dabf412 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Mon, 22 Jul 2019 09:31:35 +0300 Subject: [PATCH] Fix thumb disassembly of LDMIA/STMIA Former-commit-id: b04b07f181fff82869503671dd0f500a6c3e5fb1 --- src/core/arm7tdmi/thumb/display.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/arm7tdmi/thumb/display.rs b/src/core/arm7tdmi/thumb/display.rs index 3d605ea..08ee6d2 100644 --- a/src/core/arm7tdmi/thumb/display.rs +++ b/src/core/arm7tdmi/thumb/display.rs @@ -216,6 +216,7 @@ impl ThumbInstruction { if has_first { write!(f, ", {}", reg_string(i))?; } else { + has_first = true; write!(f, "{}", reg_string(i))?; } }