Class: Crabstone::PPC::Operand
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Crabstone::PPC::Operand
- Includes:
- Extension::Operand
- Defined in:
- lib/crabstone/arch/3/ppc.rb,
lib/crabstone/arch/4/ppc.rb,
lib/crabstone/arch/5/ppc.rb
Instance Method Summary collapse
Methods included from Extension::Operand
Instance Method Details
#crx? ⇒ Boolean
56 57 58 |
# File 'lib/crabstone/arch/3/ppc.rb', line 56 def crx? self[:type] == OP_CRX end |
#imm? ⇒ Boolean
48 49 50 |
# File 'lib/crabstone/arch/3/ppc.rb', line 48 def imm? self[:type] == OP_IMM end |
#mem? ⇒ Boolean
52 53 54 |
# File 'lib/crabstone/arch/3/ppc.rb', line 52 def mem? self[:type] == OP_MEM end |
#reg? ⇒ Boolean
44 45 46 |
# File 'lib/crabstone/arch/3/ppc.rb', line 44 def reg? self[:type] == OP_REG end |