aboutsummaryrefslogtreecommitdiff
path: root/target-lm32
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2016-10-13 00:35:05 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2016-10-28 18:17:23 +0300
commit49285e11d8ce90d2fd76d8bf16b330731e220495 (patch)
tree26c45ecd713fec735b9360dba802a0c27049e360 /target-lm32
parent95f7983bac0803633dfc670fb825a03348334aef (diff)
target-lm32: swap operand of wcsr in LOG_DIS()
Be consistent with the reference manual. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-lm32')
-rw-r--r--target-lm32/translate.c2
1 files changed, 1 insertions, 1 deletions
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: