class Crabstone::TMS320C64X::Operand

Public Instance Methods

imm?() click to toggle source
# File lib/crabstone/arch/4/tms320c64x.rb, line 47
def imm?
  self[:type] == OP_IMM
end
mem?() click to toggle source
# File lib/crabstone/arch/4/tms320c64x.rb, line 51
def mem?
  self[:type] == OP_MEM
end
reg?() click to toggle source
# File lib/crabstone/arch/4/tms320c64x.rb, line 40
def reg?
  [
    OP_REG,
    OP_REGPAIR
  ].include?(self[:type])
end
regpair?() click to toggle source
# File lib/crabstone/arch/4/tms320c64x.rb, line 55
def regpair?
  self[:type] == OP_REGPAIR
end