OSDN Git Service

b6b6acfe7a103fef47627e54bf932d3e78b8dd4f
[drdeamon64/drdeamon64.git] / libintel64asm / drd64_intel64_db.h
1 /*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64
2
3                          D r . D e a m o n  6 4
4                         for INTEL64(R), AMD64(R)
5     
6    Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved.
7
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are met:
10
11  1. Redistributions of source code must retain the above copyright notice,
12     this list of conditions and the following disclaimer.
13  2. Redistributions in binary form must reproduce the above copyright
14     notice, this list of conditions and the following disclaimer in the
15     documentation and/or other materials provided with the distribution.
16
17 THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY
18 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE
21 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/
30
31 /* File Info -----------------------------------------------------------
32 File: drd64_intel64_db.h
33 Function: Intel64 Nimonic DataBase Functions Header
34 Comment: none
35 ----------------------------------------------------------------------*/
36
37
38 #ifndef DRD64_HEADER_INTEL64_DB
39 #define DRD64_HEADER_INTEL64_DB
40
41 #include"drd64_intel64.h"
42 #include"drd64_intel64_dbtype.h"
43
44
45 typedef struct {
46         int             i_num;
47         Byte    b_prefix;
48         Byte    b_rex;
49         int             i_opcodes;
50         Byte    b_opcode[3];
51         Byte    b_mod;
52         Byte    b_reg;
53         Byte    b_rm;
54         Byte    b_fpu;
55         Byte    b_bits;
56         char    str_instruction[MAX_INSTRUCTION];
57         Byte    b_option;
58         int             i_operands;
59         Word    w_desttype;
60         Word    w_destsize;     
61         Word    w_srctype;
62         Word    w_srcsize;
63         Word    w_optiontype;
64         Word    w_optionsize;
65         Byte    b_duplicationflag;
66         int             i_priority;
67         Word    w_restrict;
68         void    *p_dbrec_link;
69         void    *p_dbrec_search;
70         Byte    b_hash;
71 } Drd64_Intel64db_Record;
72
73
74 #endif  /* DRD64_HEADER_INTEL64_DB */
75
76 /* EOF of drd64_intel64_db.h ----------------------------------- */ 
77