Class: Crabstone::X86::Operand
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Crabstone::X86::Operand
- Includes:
- Extension::Operand
- Defined in:
- lib/crabstone/arch/3/x86.rb,
lib/crabstone/arch/4/x86.rb,
lib/crabstone/arch/5/x86.rb
Instance Method Summary collapse
Methods included from Extension::Operand
Instance Method Details
#fp? ⇒ Boolean
54 55 56 |
# File 'lib/crabstone/arch/3/x86.rb', line 54 def fp? self[:type] == OP_FP end |
#imm? ⇒ Boolean
46 47 48 |
# File 'lib/crabstone/arch/3/x86.rb', line 46 def imm? self[:type] == OP_IMM end |
#mem? ⇒ Boolean
50 51 52 |
# File 'lib/crabstone/arch/3/x86.rb', line 50 def mem? self[:type] == OP_MEM end |
#reg? ⇒ Boolean
42 43 44 |
# File 'lib/crabstone/arch/3/x86.rb', line 42 def reg? self[:type] == OP_REG end |