Skip to content

Commit

Permalink
target-lm32: swap operand of wcsr in LOG_DIS()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mwalle authored and Michael Tokarev committed Oct 28, 2016
1 parent 95f7983 commit 49285e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-lm32/translate.c
Expand Up @@ -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:
Expand Down

0 comments on commit 49285e1

Please sign in to comment.