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