1 /* Intel 80386 opcode table 2 Copyright (C) 2007-2022 Free Software Foundation, Inc. 3 4 This file is part of the GNU opcodes library. 5 6 This library is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3, or (at your option) 9 any later version. 10 11 It is distributed in the hope that it will be useful, but WITHOUT 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 14 License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19 MA 02110-1301, USA. */ 20 21 #include "sysdep.h" 22 #include "libiberty.h" 23 #include "i386-opc.h" 24 #include "i386-tbl.h" 25 26 /* To be indexed by segment register number. */ 27 const unsigned char i386_seg_prefixes[] = { 28 ES_PREFIX_OPCODE, 29 CS_PREFIX_OPCODE, 30 SS_PREFIX_OPCODE, 31 DS_PREFIX_OPCODE, 32 FS_PREFIX_OPCODE, 33 GS_PREFIX_OPCODE 34 }; 35