summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1996-05-11 13:39:26 +0000
committermycroft <mycroft@NetBSD.org>1996-05-11 13:39:26 +0000
commit16255ae0bef8ff805e01895126d1a3c4e094d239 (patch)
treef3266d85e1adbb7dd08c1defe92131b456be7933 /gnu
parentd7792429486c1208360f450c2ebbcf61c0a25136 (diff)
Change the segment mov constraint to WordReg|WordMem, to disallow 8-bit memory
access, and enable a (somewhat) common register usage.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gas/opcode/i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/opcode/i386.h b/gnu/usr.bin/gas/opcode/i386.h
index a9ba5072091..4b50c63c4c8 100644
--- a/gnu/usr.bin/gas/opcode/i386.h
+++ b/gnu/usr.bin/gas/opcode/i386.h
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* $Id: i386.h,v 1.4 1996/05/03 09:33:49 pk Exp $ */
+/* $Id: i386.h,v 1.5 1996/05/11 13:39:26 mycroft Exp $ */
static const template i386_optab[] = {
@@ -27,7 +27,7 @@ static const template i386_optab[] = {
{ "mov", 2, 0x88, _, DW|Modrm, Reg, Reg|Mem, 0 },
{ "mov", 2, 0xb0, _, ShortFormW, Imm, Reg, 0 },
{ "mov", 2, 0xc6, _, W|Modrm, Imm, Reg|Mem, 0 },
-{ "mov", 2, 0x8c, _, D|Modrm, SReg3|SReg2, Reg16|Mem, 0 },
+{ "mov", 2, 0x8c, _, D|Modrm, SReg3|SReg2, WordReg|WordMem, 0 },
/* move to/from control debug registers */
{ "mov", 2, 0x0f20, _, D|Modrm, Control, Reg32, 0},
{ "mov", 2, 0x0f21, _, D|Modrm, Debug, Reg32, 0},