C# Class SharpOS.AOT.X86.Memory

Mostra file Open project: sharpos/SharpOS

Protected Properties

Property Type Description
bits32Address bool
displacement System.Int32
displacementDelta System.Int32
displacementSet bool
index Register
reference string
scale byte
segment SegType

Private Properties

Property Type Description
Check16Values void
Check32Values void

Public Methods

Method Description
Encode ( bool bits32, byte spareRegister, BinaryWriter binaryWriter ) : bool

Encodes the specified bits32.

Memory ( Memory memory ) : System
Memory ( SegType segment, R16Type _base, R16Type index ) : System

Initializes a new instance of the Memory class.

Memory ( SegType segment, R16Type _base, R16Type index, Int16 displacement ) : System

Initializes a new instance of the Memory class.

Memory ( SegType segment, R32Type _base, R32Type index, byte scale ) : System

Initializes a new instance of the Memory class.

Memory ( SegType segment, R32Type _base, R32Type index, byte scale, Int32 displacement ) : System

Initializes a new instance of the Memory class.

Memory ( SegType segment, string label ) : System

Initializes a new instance of the Memory class.

Memory ( string label ) : System

Initializes a new instance of the Memory class.

ToString ( ) : string

Returns a that represents the current .

Protected Methods

Method Description
Memory ( ) : System

Initializes a new instance of the Memory class.

Private Methods

Method Description
Check16Values ( ) : void

Check16s the values.

Check32Values ( ) : void

Check32s the values.

Method Details

Encode() public method

Encodes the specified bits32.
public Encode ( bool bits32, byte spareRegister, BinaryWriter binaryWriter ) : bool
bits32 bool if set to true [bits32].
spareRegister byte The spare register.
binaryWriter System.IO.BinaryWriter The binary writer.
return bool

Memory() protected method

Initializes a new instance of the Memory class.
protected Memory ( ) : System
return System

Memory() public method

public Memory ( Memory memory ) : System
memory Memory
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( SegType segment, R16Type _base, R16Type index ) : System
segment SegType The segment.
_base R16Type The _base.
index R16Type The index.
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( SegType segment, R16Type _base, R16Type index, Int16 displacement ) : System
segment SegType The segment.
_base R16Type The _base.
index R16Type The index.
displacement System.Int16 The displacement.
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( SegType segment, R32Type _base, R32Type index, byte scale ) : System
segment SegType The segment.
_base R32Type The _base.
index R32Type The index.
scale byte The scale.
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( SegType segment, R32Type _base, R32Type index, byte scale, Int32 displacement ) : System
segment SegType The segment.
_base R32Type The _base.
index R32Type The index.
scale byte The scale.
displacement System.Int32 The displacement.
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( SegType segment, string label ) : System
segment SegType The segment.
label string The label.
return System

Memory() public method

Initializes a new instance of the Memory class.
public Memory ( string label ) : System
label string The label.
return System

ToString() public method

Returns a that represents the current .
public ToString ( ) : string
return string

Property Details

bits32Address protected_oe property

protected bool bits32Address
return bool

displacement protected_oe property

protected Int32,System displacement
return System.Int32

displacementDelta protected_oe property

protected Int32,System displacementDelta
return System.Int32

displacementSet protected_oe property

protected bool displacementSet
return bool

index protected_oe property

protected Register,SharpOS.AOT.X86 index
return Register

reference protected_oe property

protected string reference
return string

scale protected_oe property

protected byte scale
return byte

segment protected_oe property

protected SegType,SharpOS.AOT.X86 segment
return SegType