Class: Integer

Inherits:
Object show all
Defined in:
lib/wilson.rb

Instance Method Summary collapse

Instance Method Details

#immediate_value?Boolean

Returns:

  • (Boolean)


1148
1149
1150
# File 'lib/wilson.rb', line 1148

def immediate_value?
  true
end

#inspectObject



1152
1153
1154
# File 'lib/wilson.rb', line 1152

def inspect
  "0x#{to_s 16}"
end

#mObject



1142
1143
1144
1145
1146
# File 'lib/wilson.rb', line 1142

def m
  address = Wilson::Address.new
  address.offset = self
  address
end