Class: Crabstone::XCore::Operand
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Crabstone::XCore::Operand
- Includes:
- Extension::Operand
- Defined in:
- lib/crabstone/arch/3/xcore.rb,
lib/crabstone/arch/4/xcore.rb,
lib/crabstone/arch/5/xcore.rb
Instance Method Summary collapse
Methods included from Extension::Operand
Instance Method Details
#imm? ⇒ Boolean
41 42 43 |
# File 'lib/crabstone/arch/3/xcore.rb', line 41 def imm? self[:type] == OP_IMM end |
#mem? ⇒ Boolean
45 46 47 |
# File 'lib/crabstone/arch/3/xcore.rb', line 45 def mem? self[:type] == OP_MEM end |
#reg? ⇒ Boolean
37 38 39 |
# File 'lib/crabstone/arch/3/xcore.rb', line 37 def reg? self[:type] == OP_REG end |