-----BEGIN PGP SIGNED MESSAGE-----
Hi gang,
Hmm. Those switch()es are dangerous; this is at least the third time
I've caught myself in forgetting the `break' at the end of a case in disasm.
Enough babbling. After the .sig a diff from disasm-0.34a to 0.35 is
appended. I've also corrected some of the messages. Luc, could you
drop a copy of this in the private/disasm directory, please.
Cheers,
Kai
- --
Kai Harrekilde-Petersen <kah@terma.dk> Linux: The choice of a GNU generation
Terma Elektronik, Surveillance Systems Division #include <std/disclaimer.h>
PGP Key fingerprint = 9A 70 8A FF A3 31 3E DC FB 9C A2 50 D7 FC 4F C8
- --- disasm-0.34a.c Mon Sep 4 16:27:07 1995
+++ disasm.c Wed Oct 4 18:29:18 1995
@@ -2,8 +2,8 @@
* Copyright (C) 1995 TERMA Elektronik A/S, Lystrup, Denmark
* Written by Kai Harrekilde-Petersen <kah@terma.dk>
*
- - * Version: 0.34a
- - * Date: 4. September 1995
+ * Version: 0.35
+ * Date: 4. October 1995
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
- -#define VERSION "0.34a"
+#define VERSION "0.35"
/* instruction classes */
#define TYPE_NONE -1 /* opcode is invalid */
@@ -613,6 +613,7 @@
regis[r1],target);
return;
}
+ break;
case TYPE_CP:
if(COPzrs_list[r1].type == TYPE_CP && FIELD(insn,26,2) == 0
&& (r1 == 0x02 || r1 == 0x06)) {
@@ -785,7 +786,7 @@
case 'h':
printf("%s: [-hprvV] [-a <start address>] <filename>\n"
"-h:\tshow this help\n"
- - "-p:\temit Algorithmics style regs ('$rx' vs 'rx')\n"
+ "-p:\tdo not emit Algorithmics style regs ('rx' instead of
'$rx')\n"
"-r:\treverse the endianness\n"
"-v:\tshow version number\n"
"-V:\tshow copying information\n",binname);
@@ -802,9 +803,10 @@
printf("%s: MIPS R4x00 disassembler, version " VERSION
" by Kai Harrekilde-Petersen.\n"
"Copyright (C) 1995 TERMA Elektronik A/S\n"
- - "This is free software; see the source for copying "
- - "conditions.\nThere is NO warranty; not even for "
- - "MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE.\n",
+ "This is free software; see the source for copying conditions.\n"
+ "The program is distributed in the hope that it will be useful,\n"
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n",
binname);
exit(0);
break;
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAgUBMHKzVffpFDG15Qu5AQFVAQP/YaPGdWiVK2uegOqR6nYdHf0AAaHay59X
kMKu0fUV+1YYc6s8JiQf67pzWKzP8D+IryiaflZxbai7iVrYA7T/4bPqIHW5/g1e
2kx/axol6R15lbKKSA7S+y9rjktrE7IT+e2EKfpmNbVtCA2rqrvMhuQP8y8yhWQu
R9hdIVmZh60=
=qFRG
-----END PGP SIGNATURE-----
|