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