• Home
  • Install
  • Cosmos Website
  • Articles
  • Cosmos
  • X#
  • IL2CPU
Show / Hide Table of Contents
  • XSharp
    • AsmGenerator
    • AsmGenerator.FlagBool
    • Compiler
    • Compiler.Block
    • Compiler.BlockList
    • Compiler.BlockType
    • Extensions
    • Parser
    • Parser.CharType
    • Token
    • TokenList
    • TokenPatterns
    • TokenPatterns.Block
    • TokenPatterns.Blocks
    • TokenPatterns.CodeFunc
    • TokenPatterns.Pattern
    • TokenType
    • XS
    • XS.FPU
    • XS.SSE
    • XS.SSE2
    • XS.SSE3
    • XSRegisters
    • XSRegisters.Register
    • XSRegisters.Register16
    • XSRegisters.Register32
    • XSRegisters.Register8
    • XSRegisters.RegisterFPU
    • XSRegisters.RegisterSegment
    • XSRegisters.RegisterSize
    • XSRegisters.RegisterXMM
  • XSharp.Assembler
    • Assembler
    • AssemblerMethod
    • BaseAssemblerElement
    • Comment
    • DataEndIfDefined
    • DataIfDefined
    • DataIfNotDefined
    • DataMember
    • Define
    • ElementReference
    • Else
    • EndIfDefined
    • IDefine
    • IEndIfDefined
    • IfDefined
    • IfNotDefined
    • IIfDefined
    • IIfNotDefined
    • InfraExtensions
    • Instruction
    • Label
    • LiteralAssemblerCode
    • OpCodeAttribute
    • TypeComparer
  • XSharp.Assembler.x86
    • Add
    • AddWithCarry
    • And
    • Call
    • ClearInterruptFlag
    • ClrCarryFlag
    • ClrDirFlag
    • CmpXchg
    • Compare
    • ConditionalJump
    • ConditionalMove
    • ConditionalTestEnum
    • ConvByteToWord
    • CpuId
    • DebugNoop
    • Dec
    • Divide
    • ExternalLabel
    • Halt
    • IDivide
    • IInstructionWithArgument
    • IInstructionWithCondition
    • IInstructionWithDestination
    • IInstructionWithPrefix
    • IInstructionWithSize
    • IInstructionWithSource
    • Imul
    • INC
    • InfraExtensions
    • InFromDX
    • Instruction
    • Instruction.InstructionSize
    • Instruction.InstructionSizes
    • Instruction.OperandMemoryKinds
    • InstructionPrefixes
    • InstructionWithDestination
    • InstructionWithDestinationAndSize
    • InstructionWithDestinationAndSource
    • InstructionWithDestinationAndSourceAndArgument
    • InstructionWithDestinationAndSourceAndSize
    • InstructionWithSize
    • INT
    • INT1
    • INT3
    • Interrupt
    • IRET
    • Jump
    • JumpBase
    • JumpToSegment
    • Lea
    • Lgdt
    • Lidt
    • LoadStatusFlags
    • Mov
    • MoveCR
    • MoveD
    • MoveSignExtend
    • MoveToDR6
    • MoveZeroExtend
    • Movs
    • Multiply
    • Neg
    • Noop
    • Not
    • Or
    • OutToDX
    • Pop
    • Popad
    • Popfd
    • Push
    • Pushad
    • Pushfd
    • Rdmsr
    • Rdtsc
    • Registers
    • RegistersEnum
    • Return
    • RotateLeft
    • RotateRight
    • RotateThroughCarryRight
    • Scas
    • SetByteOnCondition
    • ShiftLeft
    • ShiftLeftArithmetic
    • ShiftLeftDouble
    • ShiftRight
    • ShiftRightArithmetic
    • ShiftRightDouble
    • SignExtendAX
    • Sti
    • Stos
    • Sub
    • SubWithCarry
    • Test
    • Xchg
    • Xor
  • XSharp.Assembler.x86.SSE
    • AddPD
    • AddSD
    • AddSS
    • AndPD
    • AndPS
    • ComparePD
    • ComparePS
    • ComparePseudoOpcodes
    • CompareSD
    • CompareSS
    • ConvertPD2DQAndTruncate
    • ConvertSD2SI
    • ConvertSD2SIAndTruncate
    • ConvertSD2SS
    • ConvertSI2SD
    • ConvertSI2SS
    • ConvertSS2SD
    • ConvertSS2SI
    • ConvertSS2SIAndTruncate
    • DivPD
    • DivPS
    • DivSD
    • DivSS
    • InstructionWithDestinationAndSourceAndPseudoOpcodes
    • MaxSS
    • MinSS
    • MoveAPD
    • MoveAPS
    • MoveDoubleAndDuplicate
    • MoveDoubleAndDupplicate
    • MoveDQA
    • MoveDQU
    • MoveHLPD
    • MoveHLPS
    • MoveHPD
    • MoveHPS
    • MoveLHPS
    • MoveLPD
    • MoveQ
    • MoveSD
    • MoveSS
    • MoveUPD
    • MoveUPS
    • MulPD
    • MulPS
    • MulSD
    • MulSS
    • OrPS
    • Por
    • Psrld
    • Shufps
    • SqrtScalardDouble
    • SSEInit
    • SubPD
    • SubPS
    • SubSD
    • SubSS
    • UnpackLowDouble
    • XorPD
    • XorPS
  • XSharp.Assembler.x86.X86
    • Cmps
  • XSharp.Assembler.x86.X86.SSE
    • AddPS
  • XSharp.Assembler.x86.X86.x87
    • FloatCompareAnd2Pop
    • FloatPushOne
    • FloatPushZero
    • FloatUCompareAnd2Pop
  • XSharp.Assembler.x86.x87
    • FloatABS
    • FloatAdd
    • FloatAddAndPop
    • FloatClearEx
    • FloatCompare
    • FloatCompareAndPop
    • FloatCompareAndSet
    • FloatCompareAndSetAndPop
    • FloatCompareOrderAndSetAndPop
    • FloatCompareOrderSetAndPop
    • FloatConditionalMoveTestEnum
    • FloatCosine
    • FloatDecTopPointer
    • FloatDivide
    • FloatDivideAndPop
    • FloatDivideAndPopReverse
    • FloatDivideReverse
    • FloatFree
    • FloatIncTopPointer
    • FloatInit
    • FloatLoad
    • FloatMul
    • FloatMulAndPop
    • FloatNegate
    • FloatPop
    • FloatPRem
    • FloatPRem1
    • FloatRound
    • FloatSine
    • FloatSqrt
    • FloatStore
    • FloatStoreAndPop
    • FloatSub
    • FloatSubAndPop
    • FloatSubAndPopReverse
    • FloatSubReverse
    • FloatTan
    • FloatTest
    • FloatUCompare
    • FloatUCompareAndPop
    • FloatXchg
    • FXSave
    • FXStore
    • IntAdd
    • IntCompare
    • IntCompareAndPop
    • IntDiv
    • IntDivReverse
    • IntLoad
    • IntMul
    • IntStore
    • IntStoreAndPop
    • IntStoreWithTrunc
    • IntSub
    • IntSubReverse
  • XSharp.Tokens
    • AsKeyword
    • Compare
    • Compare<TLeftValueType, TComparatorType, TRightValueType>
    • CompareConstConst
    • CompareConstInt16
    • CompareConstInt32
    • CompareConstInt8
    • CompareConstVar
    • CompareConstVarAddr
    • CompareInt16Const
    • CompareInt16Int16
    • CompareInt16Var
    • CompareInt32Const
    • CompareInt32Int32
    • CompareInt32Var
    • CompareInt32VarAddr
    • CompareInt8Const
    • CompareInt8Int8
    • CompareInt8Var
    • CompareMem<TLeftValueType, TComparatorType, TRightValueType>
    • CompareReg08Const
    • CompareReg08Reg08
    • CompareReg08Var
    • CompareReg16Const
    • CompareReg16Int16
    • CompareReg16Reg16
    • CompareReg16Var
    • CompareReg32Const
    • CompareReg32Int32
    • CompareReg32Reg32
    • CompareReg32Var
    • CompareReg8Int8
    • CompareRegConst
    • CompareRegVar
    • CompareRegVarAddr
    • CompareVar
    • CompareVarAddrConst
    • CompareVarAddrInt32
    • CompareVarAddrVar
    • CompareVarAddrVarAddr
    • CompareVarConst
    • CompareVarInt16
    • CompareVarInt32
    • CompareVarInt8
    • CompareVarVar
    • CompareVarVarAddr
    • CompareWithMem
    • Const
    • ConstKeyword
    • FunctionKeyword
    • GotoKeyword
    • Identifier
    • If
    • Int08u
    • Int16u
    • Int32u
    • Interrupt
    • NamespaceKeyword
    • NOP
    • Num
    • OpBitwise
    • OpComment
    • OpCompare
    • OpIncDec
    • OpInclude
    • OpLiteral
    • OpMath
    • OpPureComparators
    • OpRotate
    • OpShift
    • PopAll
    • PortKeyword
    • PushAll
    • Reg
    • Reg08
    • Reg16
    • Reg32
    • Repeat
    • Return
    • Size
    • TestKeyword
    • Times
    • Variable
    • VariableAddress
    • VarKeyword
    • While
    • ZeroParamOp
  • XSharp.x86
    • Map
    • OpCode
    • Register
    • Register.Names
  • XSharp.x86.Assemblers
    • Assembler
    • NASM
  • XSharp.x86.Emitters
    • AllEmitters
    • Assignments
    • BitwiseEmitters
    • Branching
    • Comments
    • Emitters
    • IncrementDecrement
    • Math
    • Namespace
    • Ports
    • PushPop
    • ShiftRotate
    • Test
    • ZeroParamOps
  • XSharp.x86.Params
    • Address
    • i08u
    • i16u
    • i32u
    • Identifier
    • List
    • MemoryAddress
    • Num
    • Param
    • Reg
    • Reg08
    • Reg16
    • Reg32
    • RegisterAddress
    • Root
    • Size

Class XS

Inheritance
System.Object
XS
Namespace: XSharp
Assembly: XSharp.dll
Syntax
public static class XS : object

Fields

| Improve this Doc View Source

AllowComments

Declaration
public static bool AllowComments
Field Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Add(XSRegisters.Register, UInt32)

Declaration
public static void Add(XSRegisters.Register register, uint valueToAdd)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 valueToAdd
| Improve this Doc View Source

Add(XSRegisters.Register, UInt32, Boolean)

Declaration
public static void Add(XSRegisters.Register register, uint valueToAdd, bool destinationIsIndirect = false)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 valueToAdd
System.Boolean destinationIsIndirect
| Improve this Doc View Source

Add(XSRegisters.Register, XSRegisters.Register, Boolean)

Declaration
public static void Add(XSRegisters.Register register, XSRegisters.Register valueToAdd, bool destinationIsIndirect = false)
Parameters
Type Name Description
XSRegisters.Register register
XSRegisters.Register valueToAdd
System.Boolean destinationIsIndirect
| Improve this Doc View Source

AddWithCarry(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void AddWithCarry(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

AddWithCarry(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void AddWithCarry(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

AddWithCarry(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void AddWithCarry(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

AddWithCarry(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void AddWithCarry(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

AddWithCarry(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void AddWithCarry(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

AddWithCarry(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void AddWithCarry(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

And(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void And(XSRegisters.Register register, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

And(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void And(XSRegisters.Register register, XSRegisters.Register value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register register
XSRegisters.Register value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Call(String)

Declaration
public static void Call(string target)
Parameters
Type Name Description
System.String target
| Improve this Doc View Source

Call(XSRegisters.Register32)

Declaration
public static void Call(XSRegisters.Register32 register)
Parameters
Type Name Description
XSRegisters.Register32 register
| Improve this Doc View Source

ClearDirectionFlag()

Declaration
public static void ClearDirectionFlag()
| Improve this Doc View Source

ClearInterruptFlag()

Declaration
public static void ClearInterruptFlag()
| Improve this Doc View Source

Comment(String)

Declaration
public static void Comment(string comment)
Parameters
Type Name Description
System.String comment
| Improve this Doc View Source

Compare(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Compare(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Compare(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Compare(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Compare(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Compare(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Compare(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Compare(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Compare(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Compare(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Compare(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void Compare(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

Const(String, String)

Declaration
public static void Const(string name, string value)
Parameters
Type Name Description
System.String name
System.String value
| Improve this Doc View Source

Cpuid()

Declaration
public static void Cpuid()
| Improve this Doc View Source

DataMember(String, String)

Declaration
public static void DataMember(string name, string value)
Parameters
Type Name Description
System.String name
System.String value
| Improve this Doc View Source

DataMember(String, String, Boolean)

Declaration
public static void DataMember(string name, string value, bool isIncBin)
Parameters
Type Name Description
System.String name
System.String value
System.Boolean isIncBin
| Improve this Doc View Source

DataMember(String, UInt32)

Declaration
public static void DataMember(string name, uint value = null)
Parameters
Type Name Description
System.String name
System.UInt32 value
| Improve this Doc View Source

DataMember(String, UInt32, String, String)

Declaration
public static void DataMember(string name, uint elementCount, string size, string value)
Parameters
Type Name Description
System.String name
System.UInt32 elementCount
System.String size
System.String value
| Improve this Doc View Source

DataMemberBytes(String, Byte[])

Declaration
public static void DataMemberBytes(string name, byte[] value)
Parameters
Type Name Description
System.String name
System.Byte[] value
| Improve this Doc View Source

DebugNoop()

Declaration
public static void DebugNoop()
| Improve this Doc View Source

Decrement(XSRegisters.Register)

Declaration
public static void Decrement(XSRegisters.Register value)
Parameters
Type Name Description
XSRegisters.Register value
| Improve this Doc View Source

DisableInterrupts()

Declaration
public static void DisableInterrupts()
| Improve this Doc View Source

Divide(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Divide(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Divide(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Divide(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Divide(XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Divide(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

EnableInterrupts()

Declaration
public static void EnableInterrupts()
| Improve this Doc View Source

Exchange(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>)

Declaration
public static void Exchange(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
| Improve this Doc View Source

Halt()

Declaration
public static void Halt()
| Improve this Doc View Source

Increment(XSRegisters.Register)

Declaration
public static void Increment(XSRegisters.Register value)
Parameters
Type Name Description
XSRegisters.Register value
| Improve this Doc View Source

Int3()

Declaration
public static void Int3()
| Improve this Doc View Source

IntegerDivide(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void IntegerDivide(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

IntegerDivide(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void IntegerDivide(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

IntegerDivide(XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void IntegerDivide(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

IntegerMultiply(XSRegisters.Register, UInt32)

Declaration
public static void IntegerMultiply(XSRegisters.Register register, uint valueToAdd)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 valueToAdd
| Improve this Doc View Source

IntegerMultiply(XSRegisters.Register, XSRegisters.Register)

Declaration
public static void IntegerMultiply(XSRegisters.Register register, XSRegisters.Register registerToAdd)
Parameters
Type Name Description
XSRegisters.Register register
XSRegisters.Register registerToAdd
| Improve this Doc View Source

InterruptReturn()

Declaration
public static void InterruptReturn()
| Improve this Doc View Source

Jump(String)

Declaration
public static void Jump(string label)
Parameters
Type Name Description
System.String label
| Improve this Doc View Source

Jump(ConditionalTestEnum, String)

Declaration
public static void Jump(ConditionalTestEnum condition, string label)
Parameters
Type Name Description
ConditionalTestEnum condition
System.String label
| Improve this Doc View Source

JumpToSegment(UInt16, String)

Declaration
public static void JumpToSegment(ushort segment, string targetLabel)
Parameters
Type Name Description
System.UInt16 segment
System.String targetLabel
| Improve this Doc View Source

Label(String)

Declaration
public static void Label(string labelName)
Parameters
Type Name Description
System.String labelName
| Improve this Doc View Source

Lea(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Lea(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Lea(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Lea(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Lea(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Lea(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Lea(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Lea(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Lea(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Lea(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Lea(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Lea(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

LiteralCode(String)

Declaration
public static void LiteralCode(string code)
Parameters
Type Name Description
System.String code
| Improve this Doc View Source

LoadGdt(XSRegisters.Register32, Boolean)

Declaration
public static void LoadGdt(XSRegisters.Register32 destination, bool isIndirect = false)
Parameters
Type Name Description
XSRegisters.Register32 destination
System.Boolean isIndirect
| Improve this Doc View Source

LoadIdt(XSRegisters.Register32, Boolean)

Declaration
public static void LoadIdt(XSRegisters.Register32 destination, bool isIndirect = false)
Parameters
Type Name Description
XSRegisters.Register32 destination
System.Boolean isIndirect
| Improve this Doc View Source

MoveD(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void MoveD(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

MoveD(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void MoveD(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

MoveD(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void MoveD(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

MoveD(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void MoveD(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

MoveSignExtend(XSRegisters.Register, String, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveSignExtend(XSRegisters.Register destination, string sourceLabel, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

MoveSignExtend(XSRegisters.Register, UInt32, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveSignExtend(XSRegisters.Register destination, uint sourceValue, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 sourceValue
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

MoveSignExtend(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveSignExtend(XSRegisters.Register destination, XSRegisters.Register source, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

MoveZeroExtend(XSRegisters.Register, String, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveZeroExtend(XSRegisters.Register destination, string sourceLabel, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

MoveZeroExtend(XSRegisters.Register, UInt32, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveZeroExtend(XSRegisters.Register destination, uint sourceValue, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 sourceValue
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

MoveZeroExtend(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void MoveZeroExtend(XSRegisters.Register destination, XSRegisters.Register source, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Multiply(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Multiply(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Multiply(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Multiply(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Multiply(XSRegisters.Register, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Multiply(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Negate(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Negate(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Negate(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Negate(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Negate(XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Negate(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Noop()

Declaration
public static void Noop()
| Improve this Doc View Source

Not(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Not(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Not(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Not(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Not(XSRegisters.Register, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Not(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Or(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Or(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Or(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Or(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Or(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Or(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Or(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Or(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Or(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Or(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Or(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void Or(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
| Improve this Doc View Source

Pop(XSRegisters.Register)

Declaration
public static void Pop(XSRegisters.Register value)
Parameters
Type Name Description
XSRegisters.Register value
| Improve this Doc View Source

PopAllRegisters()

Declaration
public static void PopAllRegisters()
| Improve this Doc View Source

Popfd()

Declaration
public static void Popfd()
| Improve this Doc View Source

Push(String, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Push(string label, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String label
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Push(UInt32, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Push(uint destinationValue, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.UInt32 destinationValue
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Push(XSRegisters.Register, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Push(XSRegisters.Register register, bool isIndirect = false, int? displacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
XSRegisters.Register register
System.Boolean isIndirect
System.Nullable<System.Int32> displacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

PushAllRegisters()

Declaration
public static void PushAllRegisters()
| Improve this Doc View Source

Pushfd()

Declaration
public static void Pushfd()
| Improve this Doc View Source

Rdmsr()

Declaration
public static void Rdmsr()
| Improve this Doc View Source

Rdtsc()

Declaration
public static void Rdtsc()
| Improve this Doc View Source

ReadFromPortDX(XSRegisters.Register)

Declaration
public static void ReadFromPortDX(XSRegisters.Register value)
Parameters
Type Name Description
XSRegisters.Register value
| Improve this Doc View Source

Return()

Declaration
public static void Return()
| Improve this Doc View Source

Return(UInt32)

Declaration
public static void Return(uint aReturnSize)
Parameters
Type Name Description
System.UInt32 aReturnSize
| Improve this Doc View Source

RotateLeft(XSRegisters.Register, UInt32)

Declaration
public static void RotateLeft(XSRegisters.Register register, uint bitCount)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 bitCount
| Improve this Doc View Source

RotateRight(XSRegisters.Register, UInt32)

Declaration
public static void RotateRight(XSRegisters.Register register, uint bitCount)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 bitCount
| Improve this Doc View Source

RotateThroughCarryRight(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void RotateThroughCarryRight(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

RotateThroughCarryRight(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void RotateThroughCarryRight(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

RotateThroughCarryRight(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void RotateThroughCarryRight(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

RotateThroughCarryRight(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void RotateThroughCarryRight(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

RotateThroughCarryRight(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void RotateThroughCarryRight(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

RotateThroughCarryRight(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void RotateThroughCarryRight(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Set(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Set(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Set(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Set(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Set(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Set(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Set(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Set(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Set(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Set(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Set(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Set(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

SetByte(UInt32, Byte)

Declaration
public static void SetByte(uint address, byte value)
Parameters
Type Name Description
System.UInt32 address
System.Byte value
| Improve this Doc View Source

SetByteOnCondition(ConditionalTestEnum, XSRegisters.Register, Boolean, Nullable<Int32>)

Declaration
public static void SetByteOnCondition(ConditionalTestEnum condition, XSRegisters.Register destination, bool destinationIsIndirect = false, int? destinationDisplacement = null)
Parameters
Type Name Description
ConditionalTestEnum condition
XSRegisters.Register destination
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
| Improve this Doc View Source

ShiftLeft(XSRegisters.Register, Byte)

Declaration
public static void ShiftLeft(XSRegisters.Register destination, byte bitCount)
Parameters
Type Name Description
XSRegisters.Register destination
System.Byte bitCount
| Improve this Doc View Source

ShiftLeft(XSRegisters.Register, XSRegisters.Register8, Boolean, XSRegisters.RegisterSize)

Declaration
public static void ShiftLeft(XSRegisters.Register destination, XSRegisters.Register8 bitCount, bool destinationIsIndirect = false, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register8 bitCount
System.Boolean destinationIsIndirect
XSRegisters.RegisterSize size
| Improve this Doc View Source

ShiftLeftArithmetic(XSRegisters.Register, Byte)

Declaration
public static void ShiftLeftArithmetic(XSRegisters.Register destination, byte bitCount)
Parameters
Type Name Description
XSRegisters.Register destination
System.Byte bitCount
| Improve this Doc View Source

ShiftLeftArithmetic(XSRegisters.Register, XSRegisters.Register8, Boolean, XSRegisters.RegisterSize)

Declaration
public static void ShiftLeftArithmetic(XSRegisters.Register destination, XSRegisters.Register8 bitCount, bool destinationIsIndirect = false, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register8 bitCount
System.Boolean destinationIsIndirect
XSRegisters.RegisterSize size
| Improve this Doc View Source

ShiftLeftDouble(XSRegisters.Register, XSRegisters.Register, UInt32)

Declaration
public static void ShiftLeftDouble(XSRegisters.Register destination, XSRegisters.Register source, uint argumentValue)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.UInt32 argumentValue
| Improve this Doc View Source

ShiftLeftDouble(XSRegisters.Register, XSRegisters.Register, XSRegisters.Register8, Boolean, Nullable<Int32>)

Declaration
public static void ShiftLeftDouble(XSRegisters.Register destination, XSRegisters.Register source, XSRegisters.Register8 argumentReg, bool destinationIsIndirect = false, int? destinationDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
XSRegisters.Register8 argumentReg
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
| Improve this Doc View Source

ShiftRight(XSRegisters.Register, Byte)

Declaration
public static void ShiftRight(XSRegisters.Register destination, byte bitCount)
Parameters
Type Name Description
XSRegisters.Register destination
System.Byte bitCount
| Improve this Doc View Source

ShiftRight(XSRegisters.Register, XSRegisters.Register8, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void ShiftRight(XSRegisters.Register destination, XSRegisters.Register8 bitCount, bool destinationIsIndirect = false, int? destinationDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register8 bitCount
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

ShiftRightArithmetic(XSRegisters.Register, Byte)

Declaration
public static void ShiftRightArithmetic(XSRegisters.Register destination, byte bitCount)
Parameters
Type Name Description
XSRegisters.Register destination
System.Byte bitCount
| Improve this Doc View Source

ShiftRightArithmetic(XSRegisters.Register, XSRegisters.Register8, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void ShiftRightArithmetic(XSRegisters.Register destination, XSRegisters.Register8 bitCount, bool destinationIsIndirect = false, int? destinationDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register8 bitCount
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

ShiftRightDouble(XSRegisters.Register, XSRegisters.Register, UInt32)

Declaration
public static void ShiftRightDouble(XSRegisters.Register destination, XSRegisters.Register source, uint argumentValue)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.UInt32 argumentValue
| Improve this Doc View Source

ShiftRightDouble(XSRegisters.Register, XSRegisters.Register, XSRegisters.Register8, Boolean, Nullable<Int32>)

Declaration
public static void ShiftRightDouble(XSRegisters.Register destination, XSRegisters.Register source, XSRegisters.Register8 argumentReg, bool destinationIsIndirect = false, int? destinationDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
XSRegisters.Register8 argumentReg
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
| Improve this Doc View Source

SignExtendAX(XSRegisters.RegisterSize)

Declaration
public static void SignExtendAX(XSRegisters.RegisterSize size)
Parameters
Type Name Description
XSRegisters.RegisterSize size
| Improve this Doc View Source

StoreByteInString()

Declaration
public static void StoreByteInString()
| Improve this Doc View Source

StoreDwordInString()

Declaration
public static void StoreDwordInString()
| Improve this Doc View Source

StoreWordInString()

Declaration
public static void StoreWordInString()
| Improve this Doc View Source

Sub(XSRegisters.Register, UInt32)

Declaration
public static void Sub(XSRegisters.Register register, uint valueToAdd)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 valueToAdd
| Improve this Doc View Source

Sub(XSRegisters.Register, XSRegisters.Register, Boolean)

Declaration
public static void Sub(XSRegisters.Register register, XSRegisters.Register valueToAdd, bool destinationIsIndirect = false)
Parameters
Type Name Description
XSRegisters.Register register
XSRegisters.Register valueToAdd
System.Boolean destinationIsIndirect
| Improve this Doc View Source

SubWithCarry(XSRegisters.Register, UInt32)

Declaration
public static void SubWithCarry(XSRegisters.Register register, uint valueToAdd)
Parameters
Type Name Description
XSRegisters.Register register
System.UInt32 valueToAdd
| Improve this Doc View Source

SubWithCarry(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>)

Declaration
public static void SubWithCarry(XSRegisters.Register register, XSRegisters.Register valueToAdd, bool destinationIsIndirect = false, int? destinationDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register register
XSRegisters.Register valueToAdd
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
| Improve this Doc View Source

Test(XSRegisters.Register, String, Boolean)

Declaration
public static void Test(XSRegisters.Register destination, string sourceRef, bool sourceIsIndirect = false)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceRef
System.Boolean sourceIsIndirect
| Improve this Doc View Source

Test(XSRegisters.Register, UInt32)

Declaration
public static void Test(XSRegisters.Register destination, uint source)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 source
| Improve this Doc View Source

Test(XSRegisters.Register, XSRegisters.Register, Boolean)

Declaration
public static void Test(XSRegisters.Register destination, XSRegisters.Register sourceReg, bool sourceIsIndirect = false)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register sourceReg
System.Boolean sourceIsIndirect
| Improve this Doc View Source

WriteToPortDX(XSRegisters.Register)

Declaration
public static void WriteToPortDX(XSRegisters.Register value)
Parameters
Type Name Description
XSRegisters.Register value
| Improve this Doc View Source

Xor(String, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Xor(string destination, string source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
System.String source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Xor(String, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, XSRegisters.RegisterSize)

Declaration
public static void Xor(string destination, UInt32 value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize size = default(XSRegisters.RegisterSize))
Parameters
Type Name Description
System.String destination
UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
XSRegisters.RegisterSize size
| Improve this Doc View Source

Xor(String, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Xor(string destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
System.String destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Xor(XSRegisters.Register, String, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Xor(XSRegisters.Register destination, string sourceLabel, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.String sourceLabel
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Xor(XSRegisters.Register, UInt32, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>, Nullable<XSRegisters.RegisterSize>)

Declaration
public static void Xor(XSRegisters.Register destination, uint value, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null, XSRegisters.RegisterSize? size = null)
Parameters
Type Name Description
XSRegisters.Register destination
System.UInt32 value
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
System.Nullable<XSRegisters.RegisterSize> size
| Improve this Doc View Source

Xor(XSRegisters.Register, XSRegisters.Register, Boolean, Nullable<Int32>, Boolean, Nullable<Int32>)

Declaration
public static void Xor(XSRegisters.Register destination, XSRegisters.Register source, bool destinationIsIndirect = false, int? destinationDisplacement = null, bool sourceIsIndirect = false, int? sourceDisplacement = null)
Parameters
Type Name Description
XSRegisters.Register destination
XSRegisters.Register source
System.Boolean destinationIsIndirect
System.Nullable<System.Int32> destinationDisplacement
System.Boolean sourceIsIndirect
System.Nullable<System.Int32> sourceDisplacement
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
☀
☾