summaryrefslogtreecommitdiffstats
path: root/tools/sh2d.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-03-28 14:42:40 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-03-28 14:42:40 +0000
commit09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e (patch)
tree9f79bcb24d13f96e465434dfb1deeeb9e4eca4cc /tools/sh2d.c
parente1715c27e08de52f38ff2bcc5fefe97fa16664dc (diff)
downloadrockbox-09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e.tar.gz
rockbox-09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e.zip
Fixed comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@56 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/sh2d.c')
-rw-r--r--tools/sh2d.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/sh2d.c b/tools/sh2d.c
index 69d514c3fe..79d4925486 100644
--- a/tools/sh2d.c
+++ b/tools/sh2d.c
@@ -2,6 +2,9 @@
* sh2d
* Bart Trzynadlowski, July 24, 2000
* Public domain
+ *
+ * Some changes by Bjrn Stenberg <bjorn@haxx.se>
+ * $Id$
*/
@@ -428,7 +431,7 @@ void SH2Disasm(unsigned v_addr, unsigned char *p_addr, int mode, char *m_addr)
if ((op & 0xf000) == 0x9000) /* .W */
{
int dat = (unsigned short) (*(imm + p_addr) << 8) | *(imm + p_addr + 1);
- m_addr[imm+0] = ND8_F; // this couldn't be an instruction so mark it !
+ m_addr[imm+0] = ND8_F; /* this couldn't be an instruction so mark it ! */
m_addr[imm+1] = imm;
printf(tab[i].mnem,
imm,
@@ -445,7 +448,7 @@ void SH2Disasm(unsigned v_addr, unsigned char *p_addr, int mode, char *m_addr)
char* str = "";
if ( (dat & 0xfffffe00) == 0x05fffe00 )
str = regname[dat & 0x1ff];
- m_addr[imm+(b_addr-p_addr)+0] = ND8_F; // this couldn't be an instruction so mark it !
+ m_addr[imm+(b_addr-p_addr)+0] = ND8_F; /* this couldn't be an instruction so mark it ! */
m_addr[imm+(b_addr-p_addr)+1] = imm;
m_addr[imm+(b_addr-p_addr)+2] = -1;
printf(tab[i].mnem,