diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-03-28 14:42:40 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-03-28 14:42:40 +0000 |
commit | 09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e (patch) | |
tree | 9f79bcb24d13f96e465434dfb1deeeb9e4eca4cc /tools | |
parent | e1715c27e08de52f38ff2bcc5fefe97fa16664dc (diff) |
Fixed comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@56 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sh2d.c | 7 |
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 Björn 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, |