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 | |
parent | e1715c27e08de52f38ff2bcc5fefe97fa16664dc (diff) | |
download | rockbox-09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e.tar.gz rockbox-09efa1bf0d58d1cbd4b574dc47034f5eeb75fd9e.zip |
Fixed comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@56 a1c6a512-1295-4272-9138-f99709370657
-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 @@ | |||
2 | * sh2d | 2 | * sh2d |
3 | * Bart Trzynadlowski, July 24, 2000 | 3 | * Bart Trzynadlowski, July 24, 2000 |
4 | * Public domain | 4 | * Public domain |
5 | * | ||
6 | * Some changes by Björn Stenberg <bjorn@haxx.se> | ||
7 | * $Id$ | ||
5 | */ | 8 | */ |
6 | 9 | ||
7 | 10 | ||
@@ -428,7 +431,7 @@ void SH2Disasm(unsigned v_addr, unsigned char *p_addr, int mode, char *m_addr) | |||
428 | if ((op & 0xf000) == 0x9000) /* .W */ | 431 | if ((op & 0xf000) == 0x9000) /* .W */ |
429 | { | 432 | { |
430 | int dat = (unsigned short) (*(imm + p_addr) << 8) | *(imm + p_addr + 1); | 433 | int dat = (unsigned short) (*(imm + p_addr) << 8) | *(imm + p_addr + 1); |
431 | m_addr[imm+0] = ND8_F; // this couldn't be an instruction so mark it ! | 434 | m_addr[imm+0] = ND8_F; /* this couldn't be an instruction so mark it ! */ |
432 | m_addr[imm+1] = imm; | 435 | m_addr[imm+1] = imm; |
433 | printf(tab[i].mnem, | 436 | printf(tab[i].mnem, |
434 | imm, | 437 | imm, |
@@ -445,7 +448,7 @@ void SH2Disasm(unsigned v_addr, unsigned char *p_addr, int mode, char *m_addr) | |||
445 | char* str = ""; | 448 | char* str = ""; |
446 | if ( (dat & 0xfffffe00) == 0x05fffe00 ) | 449 | if ( (dat & 0xfffffe00) == 0x05fffe00 ) |
447 | str = regname[dat & 0x1ff]; | 450 | str = regname[dat & 0x1ff]; |
448 | m_addr[imm+(b_addr-p_addr)+0] = ND8_F; // this couldn't be an instruction so mark it ! | 451 | m_addr[imm+(b_addr-p_addr)+0] = ND8_F; /* this couldn't be an instruction so mark it ! */ |
449 | m_addr[imm+(b_addr-p_addr)+1] = imm; | 452 | m_addr[imm+(b_addr-p_addr)+1] = imm; |
450 | m_addr[imm+(b_addr-p_addr)+2] = -1; | 453 | m_addr[imm+(b_addr-p_addr)+2] = -1; |
451 | printf(tab[i].mnem, | 454 | printf(tab[i].mnem, |