Search
lxdream.org :: lxdream :: r496:5c5c98f3bdd5
lxdream 0.9.1
released Jun 29
Download Now
changeset496:5c5c98f3bdd5
parent495:4db4702b0778
child497:cd6e10c2e96b
authornkeynes
dateWed Nov 07 11:46:58 2007 +0000 (12 years ago)
Fix typo in MOV.L @(disp, Rm), Rn
src/sh4/sh4dasm.c
src/sh4/sh4dasm.in
1.1 --- a/src/sh4/sh4dasm.c Wed Nov 07 11:45:53 2007 +0000
1.2 +++ b/src/sh4/sh4dasm.c Wed Nov 07 11:46:58 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4dasm.c,v 1.12 2007-10-08 12:06:01 nkeynes Exp $
1.6 + * $Id: sh4dasm.c,v 1.13 2007-11-07 11:46:58 nkeynes Exp $
1.7 *
1.8 * SH4 CPU definition and disassembly functions
1.9 *
1.10 @@ -1026,7 +1026,7 @@
1.11 case 0x5:
1.12 { /* MOV.L @(disp, Rm), Rn */
1.13 uint32_t Rn = ((ir>>8)&0xF); uint32_t Rm = ((ir>>4)&0xF); uint32_t disp = (ir&0xF)<<2;
1.14 - snprintf( buf, len, "MOV.L @(%d, R%d), @R%d", disp, Rm, Rn );
1.15 + snprintf( buf, len, "MOV.L @(%d, R%d), R%d", disp, Rm, Rn );
1.16 }
1.17 break;
1.18 case 0x6:
2.1 --- a/src/sh4/sh4dasm.in Wed Nov 07 11:45:53 2007 +0000
2.2 +++ b/src/sh4/sh4dasm.in Wed Nov 07 11:46:58 2007 +0000
2.3 @@ -1,5 +1,5 @@
2.4 /**
2.5 - * $Id: sh4dasm.in,v 1.2 2007-10-08 12:06:01 nkeynes Exp $
2.6 + * $Id: sh4dasm.in,v 1.3 2007-11-07 11:46:58 nkeynes Exp $
2.7 *
2.8 * SH4 CPU definition and disassembly functions
2.9 *
2.10 @@ -189,7 +189,7 @@
2.11 MOV.L @(R0, Rm), Rn {: snprintf( buf, len, "MOV.L @(R0, R%d), R%d", Rm, Rn ); :}
2.12 MOV.L @(disp, GBR), R0 {: snprintf( buf, len, "MOV.L @(%d, GBR), R0",disp ); :}
2.13 MOV.L @(disp, PC), Rn {: snprintf( buf, len, "MOV.L @($%xh), R%d ; <- #%08x", disp + (pc & 0xFFFFFFFC) + 4, Rn, sh4_read_long(disp+(pc&0xFFFFFFFC)+4) ); :}
2.14 -MOV.L @(disp, Rm), Rn {: snprintf( buf, len, "MOV.L @(%d, R%d), @R%d", disp, Rm, Rn ); :}
2.15 +MOV.L @(disp, Rm), Rn {: snprintf( buf, len, "MOV.L @(%d, R%d), R%d", disp, Rm, Rn ); :}
2.16 MOV.W Rm, @Rn {: snprintf( buf, len, "MOV.W R%d, @R%d", Rm, Rn ); :}
2.17 MOV.W Rm, @-Rn {: snprintf( buf, len, "MOV.W R%d, @-R%d", Rm, Rn ); :}
2.18 MOV.W Rm, @(R0, Rn) {: snprintf( buf, len, "MOV.W R%d, @(R0, R%d)", Rm, Rn ); :}
.