class Crabstone::M68K::Operand

Public Instance Methods

br_disp?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 107
def br_disp?
  self[:type] == OP_BR_DISP
end
dimm?()
Alias for: fp_double?
fp_double?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 94
def fp_double?
  self[:type] == OP_FP_DOUBLE
end
Also aliased as: dimm?
fp_single?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 89
def fp_single?
  self[:type] == OP_FP_SINGLE
end
Also aliased as: simm?
imm?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 81
def imm?
  self[:type] == OP_IMM
end
mem?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 85
def mem?
  self[:type] == OP_MEM
end
reg?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 77
def reg?
  self[:type] == OP_REG
end
reg_bits?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 99
def reg_bits?
  self[:type] == OP_REG_BITS
end
reg_pair?() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 103
def reg_pair?
  self[:type] == OP_REG_PAIR
end
simm?()
Alias for: fp_single?
super_value()
Alias for: value
value() click to toggle source
# File lib/crabstone/arch/4/m68k.rb, line 67
def value
  super_value || if mem?
                   self[:mem]
                 elsif br_disp?
                   self[:br_disp]
                 elsif reg_bits?
                   self[:register_bits]
                 end
end
Also aliased as: super_value