2009-05-25 Tristan Gingold <gingold@adacore.com>
[binutils.git] / opcodes / i386-opc.c
blob1e97566c3f4c3ebb891a42645fdb9a44020938db
1 /* Intel 80386 opcode table
2 Copyright 2007
3 Free Software Foundation, Inc.
5 This file is part of the GNU opcodes library.
7 This library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 It is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 #include "sysdep.h"
23 #include "libiberty.h"
24 #include "i386-opc.h"
25 #include "i386-tbl.h"
27 /* Segment stuff. */
28 const seg_entry cs = { "cs", 0x2e };
29 const seg_entry ds = { "ds", 0x3e };
30 const seg_entry ss = { "ss", 0x36 };
31 const seg_entry es = { "es", 0x26 };
32 const seg_entry fs = { "fs", 0x64 };
33 const seg_entry gs = { "gs", 0x65 };