summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-09-24 17:19:16 +0000
committerjtc <jtc@NetBSD.org>1993-09-24 17:19:16 +0000
commitd7607730b7e5de4ba15705d77ea68497ea3887ea (patch)
tree45168825941f86083b116bc902349e1575794dd3
parent06c199bb44a41dca0205568659bf630d054c9656 (diff)
Fixed bug that was reported (with patch) on gnu.utils.bug.
Immediate operands of the pushw instruction were being output as 32 bits, rather than the 16 bits they were supposed to be.
-rw-r--r--gnu/usr.bin/gas/config/i386-opcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/config/i386-opcode.h b/gnu/usr.bin/gas/config/i386-opcode.h
index 44f533cfb5b..4ca13815b70 100644
--- a/gnu/usr.bin/gas/config/i386-opcode.h
+++ b/gnu/usr.bin/gas/config/i386-opcode.h
@@ -5,7 +5,7 @@
* Modified 1991 by Donn Seeley at UUNET Technologies, Inc.
*
* from: @(#)i386-opcode.h 6.3 (Berkeley) 5/8/91
- * $Id: i386-opcode.h,v 1.3 1993/08/04 00:21:42 jtc Exp $
+ * $Id: i386-opcode.h,v 1.4 1993/09/24 17:19:16 jtc Exp $
*/
/* i386-opcode.h -- Intel 80386 opcode table
@@ -58,7 +58,7 @@ template i386_optab[] = {
{"push", 1, 0x50, _, ShortForm, WordReg,0,0 },
{"push", 1, 0xff, 0x6, Modrm, WordReg|WordMem, 0, 0 },
{"push", 1, 0x6a, _, NoModrm, Imm8S, 0, 0},
-{"push", 1, 0x68, _, NoModrm, Imm32, 0, 0},
+{"push", 1, 0x68, _, NoModrm, Imm16|Imm32, 0, 0},
{"push", 1, 0x06, _, Seg2ShortForm, SReg2,0,0 },
{"push", 1, 0x0fa0, _, Seg3ShortForm, SReg3,0,0 },
/* push all */