class Crabstone::XCore::Operand

Public Instance Methods

imm?() click to toggle source
# File lib/crabstone/arch/3/xcore.rb, line 41
def imm?
  self[:type] == OP_IMM
end
mem?() click to toggle source
# File lib/crabstone/arch/3/xcore.rb, line 45
def mem?
  self[:type] == OP_MEM
end
reg?() click to toggle source
# File lib/crabstone/arch/3/xcore.rb, line 37
def reg?
  self[:type] == OP_REG
end