| OLD | NEW |
| 1 /* opcode/i386.h -- Intel 80386 opcode macros | 1 /* opcode/i386.h -- Intel 80386 opcode macros |
| 2 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 2 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
| 5 | 5 |
| 6 This file is part of GAS, the GNU Assembler, and GDB, the GNU Debugger. | 6 This file is part of GAS, the GNU Assembler, and GDB, the GNU Debugger. |
| 7 | 7 |
| 8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
| 9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
| 10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #define CS_PREFIX_OPCODE 0x2e | 71 #define CS_PREFIX_OPCODE 0x2e |
| 72 #define DS_PREFIX_OPCODE 0x3e | 72 #define DS_PREFIX_OPCODE 0x3e |
| 73 #define ES_PREFIX_OPCODE 0x26 | 73 #define ES_PREFIX_OPCODE 0x26 |
| 74 #define FS_PREFIX_OPCODE 0x64 | 74 #define FS_PREFIX_OPCODE 0x64 |
| 75 #define GS_PREFIX_OPCODE 0x65 | 75 #define GS_PREFIX_OPCODE 0x65 |
| 76 #define SS_PREFIX_OPCODE 0x36 | 76 #define SS_PREFIX_OPCODE 0x36 |
| 77 #define REPNE_PREFIX_OPCODE 0xf2 | 77 #define REPNE_PREFIX_OPCODE 0xf2 |
| 78 #define REPE_PREFIX_OPCODE 0xf3 | 78 #define REPE_PREFIX_OPCODE 0xf3 |
| 79 #define XACQUIRE_PREFIX_OPCODE 0xf2 | 79 #define XACQUIRE_PREFIX_OPCODE 0xf2 |
| 80 #define XRELEASE_PREFIX_OPCODE 0xf3 | 80 #define XRELEASE_PREFIX_OPCODE 0xf3 |
| 81 #define BND_PREFIX_OPCODE 0xf2 |
| 81 | 82 |
| 82 #define TWO_BYTE_OPCODE_ESCAPE 0x0f | 83 #define TWO_BYTE_OPCODE_ESCAPE 0x0f |
| 83 #define NOP_OPCODE (char) 0x90 | 84 #define NOP_OPCODE (char) 0x90 |
| 84 | 85 |
| 85 /* register numbers */ | 86 /* register numbers */ |
| 86 #define EAX_REG_NUM 0 | 87 #define EAX_REG_NUM 0 |
| 87 #define ECX_REG_NUM 1 | 88 #define ECX_REG_NUM 1 |
| 88 #define EDX_REG_NUM 2 | 89 #define EDX_REG_NUM 2 |
| 89 #define EBX_REG_NUM 3 | 90 #define EBX_REG_NUM 3 |
| 90 #define ESP_REG_NUM 4 | 91 #define ESP_REG_NUM 4 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 /* max memory refs per insn (string ops) */ | 139 /* max memory refs per insn (string ops) */ |
| 139 #define MAX_MEMORY_OPERANDS 2 | 140 #define MAX_MEMORY_OPERANDS 2 |
| 140 | 141 |
| 141 /* max size of insn mnemonics. */ | 142 /* max size of insn mnemonics. */ |
| 142 #define MAX_MNEM_SIZE 20 | 143 #define MAX_MNEM_SIZE 20 |
| 143 | 144 |
| 144 /* max size of register name in insn mnemonics. */ | 145 /* max size of register name in insn mnemonics. */ |
| 145 #define MAX_REG_NAME_SIZE 8 | 146 #define MAX_REG_NAME_SIZE 8 |
| 146 | 147 |
| 147 #endif /* OPCODE_I386_H */ | 148 #endif /* OPCODE_I386_H */ |
| OLD | NEW |