class Crabstone::MIPS::Operand

Public Instance Methods

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