Class: X86Assembler::SizeModifier

Inherits:
RMasm::Modifier show all
Defined in:
lib/rmasm/x86/x86_assembler.rb

Instance Attribute Summary

Attributes inherited from RMasm::Modifier

#type, #value

Instance Method Summary collapse

Methods inherited from RMasm::Modifier

#<<, #[], #initialize

Constructor Details

This class inherits a constructor from RMasm::Modifier

Instance Method Details

#dsObject



97
98
99
100
# File 'lib/rmasm/x86/x86_assembler.rb', line 97

def ds()
  value << SegmentModifier.new(:ds)
  self
end

#esObject



112
113
114
115
# File 'lib/rmasm/x86/x86_assembler.rb', line 112

def es()
  value << SegmentModifier.new(:es)
  self
end

#fsObject



117
118
119
120
# File 'lib/rmasm/x86/x86_assembler.rb', line 117

def fs()
  value << SegmentModifier.new(:fs)
  self
end

#gsObject



122
123
124
125
# File 'lib/rmasm/x86/x86_assembler.rb', line 122

def gs()
  value << SegmentModifier.new(:gs)
  self
end

#ssObject



102
103
104
105
# File 'lib/rmasm/x86/x86_assembler.rb', line 102

def ss()
  value << SegmentModifier.new(:ss)
  self
end