From 49285e11d8ce90d2fd76d8bf16b330731e220495 Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Thu, 13 Oct 2016 00:35:05 +0200 Subject: [PATCH] target-lm32: swap operand of wcsr in LOG_DIS() Be consistent with the reference manual. Signed-off-by: Michael Walle Reviewed-by: Peter Maydell Signed-off-by: Michael Tokarev --- target-lm32/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-lm32/translate.c b/target-lm32/translate.c index dc64cc6726..fa8416a81b 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -865,7 +865,7 @@ static void dec_wcsr(DisasContext *dc) { int no; - LOG_DIS("wcsr r%d, %d\n", dc->r1, dc->csr); + LOG_DIS("wcsr %d, r%d\n", dc->csr, dc->r1); switch (dc->csr) { case CSR_IE: