i386-opc.c 1.1 KB

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