Class: Integer

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

Instance Method Summary collapse

Instance Method Details

#immediate_value?Boolean

Returns:

  • (Boolean)


1150
1151
1152
# File 'lib/wilson.rb', line 1150

def immediate_value?
  true
end

#inspectObject



1154
1155
1156
# File 'lib/wilson.rb', line 1154

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

#mObject



1144
1145
1146
1147
1148
# File 'lib/wilson.rb', line 1144

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