i386-opc.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* Intel 80386 opcode table
  2. Copyright (C) 2007-2022 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. /* To be indexed by segment register number. */
  21. const unsigned char i386_seg_prefixes[] = {
  22. ES_PREFIX_OPCODE,
  23. CS_PREFIX_OPCODE,
  24. SS_PREFIX_OPCODE,
  25. DS_PREFIX_OPCODE,
  26. FS_PREFIX_OPCODE,
  27. GS_PREFIX_OPCODE
  28. };