* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
This commit is contained in:
parent
e8e18f7490
commit
a644baaa03
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Nov 6 00:12:51 1992 John Gilmore (gnu@cygnus.com)
|
||||||
|
|
||||||
|
* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
|
||||||
|
|
||||||
Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
|
Thu Nov 5 03:37:15 1992 John Gilmore (gnu@cygnus.com)
|
||||||
|
|
||||||
Clean up some old BFD ansification macros.
|
Clean up some old BFD ansification macros.
|
||||||
|
|
|
@ -292,8 +292,12 @@ mem( memaddr, word1, word2, noprint )
|
||||||
* -2: 2 operands, store instruction
|
* -2: 2 operands, store instruction
|
||||||
*/
|
*/
|
||||||
static struct tabent *mem_tab = NULL;
|
static struct tabent *mem_tab = NULL;
|
||||||
static struct { int opcode; char *name; char numops; } mem_init[] = {
|
/* Opcodes of 0x8X, 9X, aX, bX, and cX must be in the table. */
|
||||||
#define MEM_MIN 0x80
|
#define MEM_MIN 0x80
|
||||||
|
#define MEM_MAX 0xcf
|
||||||
|
#define MEM_SIZ ((MEM_MAX-MEM_MIN+1) * sizeof(struct tabent))
|
||||||
|
|
||||||
|
static struct { int opcode; char *name; char numops; } mem_init[] = {
|
||||||
0x80, "ldob", 2,
|
0x80, "ldob", 2,
|
||||||
0x82, "stob", -2,
|
0x82, "stob", -2,
|
||||||
0x84, "bx", 1,
|
0x84, "bx", 1,
|
||||||
|
@ -314,8 +318,6 @@ mem( memaddr, word1, word2, noprint )
|
||||||
0xc2, "stib", -2,
|
0xc2, "stib", -2,
|
||||||
0xc8, "ldis", 2,
|
0xc8, "ldis", 2,
|
||||||
0xca, "stis", -2,
|
0xca, "stis", -2,
|
||||||
#define MEM_MAX 0xca
|
|
||||||
#define MEM_SIZ ((MEM_MAX-MEM_MIN+1) * sizeof(struct tabent))
|
|
||||||
0, NULL, 0
|
0, NULL, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue