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