Search
lxdream.org :: lxdream :: r706:3135a0770e19
lxdream 0.9.1
released Jun 29
Download Now
changeset706:3135a0770e19
parent705:03dd1ea35c69
child707:fb7c8fe2f61c
authornkeynes
dateWed Jun 25 10:03:28 2008 +0000 (11 years ago)
Add sh4_dump_region convenience function
src/sh4/sh4dasm.c
src/sh4/sh4dasm.in
1.1 --- a/src/sh4/sh4dasm.c Wed Jun 25 00:39:02 2008 +0000
1.2 +++ b/src/sh4/sh4dasm.c Wed Jun 25 10:03:28 2008 +0000
1.3 @@ -1564,3 +1564,8 @@
1.4 fprintf( f, " %08x: %s %s\n", pc, opcode, buf );
1.5 }
1.6 }
1.7 +
1.8 +void sh4_dump_region( int from, int to )
1.9 +{
1.10 + sh4_disasm_region( stdout, from, to );
1.11 +}
2.1 --- a/src/sh4/sh4dasm.in Wed Jun 25 00:39:02 2008 +0000
2.2 +++ b/src/sh4/sh4dasm.in Wed Jun 25 10:03:28 2008 +0000
2.3 @@ -299,3 +299,8 @@
2.4 fprintf( f, " %08x: %s %s\n", pc, opcode, buf );
2.5 }
2.6 }
2.7 +
2.8 +void sh4_dump_region( int from, int to )
2.9 +{
2.10 + sh4_disasm_region( stdout, from, to );
2.11 +}
.