operand.cpp 794 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// [AsmJit]
// Complete x86/x64 JIT and Remote Assembler for C++.
//
// [License]
// Zlib - See LICENSE.md file in the package.

// [Export]
#define ASMJIT_EXPORTS

// [Dependencies - AsmJit]
#include "../base/globals.h"

// [Api-Begin]
#include "../apibegin.h"

namespace asmjit {

// ============================================================================
// [asmjit::Operand]
// ============================================================================

// Prevent static initialization.
struct Operand {
  uint8_t op;
  uint8_t size;
  uint8_t reserved_2_1;
  uint8_t reserved_3_1;
  uint32_t id;
  uint64_t reserved_8_8;
};

ASMJIT_VAR const Operand noOperand;
const Operand noOperand = { 0, 0, 0, 0, kInvalidValue, 0 };

} // asmjit namespace

// [Api-End]
#include "../apiend.h"