VirtualBox

source: vbox/trunk/src/VBox/Disassembler/DisasmTables.h@ 5031

Last change on this file since 5031 was 4071, checked in by vboxsync, 17 years ago

Biggest check-in ever. New source code headers for all (C) innotek files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1/** @file
2 *
3 * VBox disassembler:
4 * Tables.header
5 */
6
7/*
8 * Copyright (C) 2006-2007 innotek GmbH
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License as published by the Free Software Foundation,
14 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
15 * distribution. VirtualBox OSE is distributed in the hope that it will
16 * be useful, but WITHOUT ANY WARRANTY of any kind.
17 */
18
19#ifndef __disasmtable_h__
20#define __disasmtable_h__
21
22#include <VBox/dis.h>
23
24extern const OPCODE g_aOneByteMapX86[256];
25extern const OPCODE g_aTwoByteMapX86[256];
26
27/** Two byte opcode map with prefix 0x66 */
28extern const OPCODE g_aTwoByteMapX86_PF66[256];
29
30/** Two byte opcode map with prefix 0xF2 */
31extern const OPCODE g_aTwoByteMapX86_PFF2[256];
32
33/** Two byte opcode map with prefix 0xF3 */
34extern const OPCODE g_aTwoByteMapX86_PFF3[256];
35
36/** Opcode extensions (Group tables)
37 * @{ */
38extern const OPCODE g_aMapX86_Group1[8*4];
39extern const OPCODE g_aMapX86_Group2[8*6];
40extern const OPCODE g_aMapX86_Group3[8*2];
41extern const OPCODE g_aMapX86_Group4[8];
42extern const OPCODE g_aMapX86_Group5[8];
43extern const OPCODE g_aMapX86_Group6[8];
44extern const OPCODE g_aMapX86_Group7_mem[8];
45extern const OPCODE g_aMapX86_Group7_mod11_rm000[8];
46extern const OPCODE g_aMapX86_Group7_mod11_rm001[8];
47extern const OPCODE g_aMapX86_Group8[8];
48extern const OPCODE g_aMapX86_Group9[8];
49extern const OPCODE g_aMapX86_Group10[8];
50extern const OPCODE g_aMapX86_Group11[8*2];
51extern const OPCODE g_aMapX86_Group12[8*2];
52extern const OPCODE g_aMapX86_Group13[8*2];
53extern const OPCODE g_aMapX86_Group14[8*2];
54extern const OPCODE g_aMapX86_Group15_mem[8];
55extern const OPCODE g_aMapX86_Group15_mod11_rm000[8];
56extern const OPCODE g_aMapX86_Group16[8];
57extern const OPCODE g_aMapX86_NopPause[2];
58/** @} */
59
60/** 3DNow! map (0x0F 0x0F prefix) */
61extern const OPCODE g_aTwoByteMapX86_3DNow[256];
62
63/** Floating point opcodes starting with escape byte 0xDF
64 * @{ */
65extern const OPCODE g_aMapX86_EscF0_Low[8];
66extern const OPCODE g_aMapX86_EscF0_High[16*4];
67extern const OPCODE g_aMapX86_EscF1_Low[8];
68extern const OPCODE g_aMapX86_EscF1_High[16*4];
69extern const OPCODE g_aMapX86_EscF2_Low[8];
70extern const OPCODE g_aMapX86_EscF2_High[16*4];
71extern const OPCODE g_aMapX86_EscF3_Low[8];
72extern const OPCODE g_aMapX86_EscF3_High[16*4];
73extern const OPCODE g_aMapX86_EscF4_Low[8];
74extern const OPCODE g_aMapX86_EscF4_High[16*4];
75extern const OPCODE g_aMapX86_EscF5_Low[8];
76extern const OPCODE g_aMapX86_EscF5_High[16*4];
77extern const OPCODE g_aMapX86_EscF6_Low[8];
78extern const OPCODE g_aMapX86_EscF6_High[16*4];
79extern const OPCODE g_aMapX86_EscF7_Low[8];
80extern const OPCODE g_aMapX86_EscF7_High[16*4];
81
82extern PCOPCODE g_paMapX86_FP_Low[8];
83extern PCOPCODE g_paMapX86_FP_High[8];
84/** @} */
85
86#endif /* !__disasmtable_h__ */
87
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette