Search
lxdream.org :: lxdream/src/sh4/sh4dasm.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4dasm.in
changeset 430:467519b050f4
prev359:c588dce7ebde
next496:5c5c98f3bdd5
author nkeynes
date Mon Oct 08 12:09:06 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/sh4/sh4dasm.in Thu Aug 23 12:33:27 2007 +0000
1.2 +++ b/src/sh4/sh4dasm.in Mon Oct 08 12:09:06 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4dasm.in,v 1.1 2007-08-23 12:33:27 nkeynes Exp $
1.6 + * $Id: sh4dasm.in,v 1.2 2007-10-08 12:06:01 nkeynes Exp $
1.7 *
1.8 * SH4 CPU definition and disassembly functions
1.9 *
1.10 @@ -125,7 +125,7 @@
1.11 FMOV @Rm, FRn {: snprintf( buf, len, "FMOV @R%d, FR%d", Rm, FRn ); :}
1.12 FMOV @Rm+, FRn {: snprintf( buf, len, "FMOV @R%d+, FR%d", Rm, FRn ); :}
1.13 FMOV @(R0, Rm), FRn {: snprintf( buf, len, "FMOV @(R0, R%d), FR%d", Rm, FRn ); :}
1.14 -FMUL FRm, FRn {: snprintf( buf, len, "FMUL FRm, FR%d", FRm, FRn ); :}
1.15 +FMUL FRm, FRn {: snprintf( buf, len, "FMUL FR%d, FR%d", FRm, FRn ); :}
1.16 FNEG FRn {: snprintf( buf, len, "FNEG FR%d", FRn ); :}
1.17 FRCHG {: snprintf( buf, len, "FRCHG " ); :}
1.18 FSCA FPUL, FRn {: snprintf( buf, len, "FSCA FPUL, FR%d", FRn ); :}
1.19 @@ -133,7 +133,7 @@
1.20 FSQRT FRn {: snprintf( buf, len, "FSQRT FR%d", FRn ); :}
1.21 FSRRA FRn {: snprintf( buf, len, "FSRRA FR%d", FRn ); :}
1.22 FSTS FPUL, FRn {: snprintf( buf, len, "FSTS FPUL, FR%d", FRn ); :}
1.23 -FSUB FRm, FRn {: snprintf( buf, len, "FSUB FRm, FR%d", FRm, FRn ); :}
1.24 +FSUB FRm, FRn {: snprintf( buf, len, "FSUB FR%d, FR%d", FRm, FRn ); :}
1.25 FTRC FRm, FPUL {: snprintf( buf, len, "FTRC FR%d, FPUL", FRm ); :}
1.26 FTRV XMTRX, FVn {: snprintf( buf, len, "FTRV XMTRX, FV%d", FVn ); :}
1.27 JMP @Rn {: snprintf( buf, len, "JMP @R%d", Rn ); :}
1.28 @@ -194,7 +194,7 @@
1.29 MOV.W Rm, @-Rn {: snprintf( buf, len, "MOV.W R%d, @-R%d", Rm, Rn ); :}
1.30 MOV.W Rm, @(R0, Rn) {: snprintf( buf, len, "MOV.W R%d, @(R0, R%d)", Rm, Rn ); :}
1.31 MOV.W R0, @(disp, GBR) {: snprintf( buf, len, "MOV.W R0, @(%d, GBR)", disp); :}
1.32 -MOV.W R0, @(disp, Rn) {: snprintf( buf, len, "MOV.W R0, @(%d, Rn)", disp, Rn ); :}
1.33 +MOV.W R0, @(disp, Rn) {: snprintf( buf, len, "MOV.W R0, @(%d, R%d)", disp, Rn ); :}
1.34 MOV.W @Rm, Rn {: snprintf( buf, len, "MOV.W @R%d, R%d", Rm, Rn ); :}
1.35 MOV.W @Rm+, Rn {: snprintf( buf, len, "MOV.W @R%d+, R%d", Rm, Rn ); :}
1.36 MOV.W @(R0, Rm), Rn {: snprintf( buf, len, "MOV.W @(R0, R%d), R%d", Rm, Rn ); :}
.