Class Ports
IN and OUT functions from assembly
This instruction is only useful for accessing I/O ports located in the processor's I/O address space.
See Chapter 13, Input/Output, in the IA-32 Intel Architecture Software Developer's Manual, Volume 1,
for more information on accessing I/O ports in the I/O address space.
Inheritance
System.Object
Ports
Assembly: XSharp.dll
Syntax
public class Ports : Emitters
Constructors
|
Improve this Doc
View Source
Ports(Compiler, Assembler)
Declaration
public Ports(Compiler aCompiler, Assembler aAsm)
Parameters
Methods
|
Improve this Doc
View Source
PortIn(Register, String, String, String, Byte, String)
Declaration
protected void PortIn(Register aDestReg, string aOpEquals, string aPortKeyword, string aOpOpenBracket, byte aPortNo, string aOpCloseBracket)
Parameters
Type |
Name |
Description |
Register |
aDestReg |
|
System.String |
aOpEquals |
|
System.String |
aPortKeyword |
|
System.String |
aOpOpenBracket |
|
System.Byte |
aPortNo |
|
System.String |
aOpCloseBracket |
|
|
Improve this Doc
View Source
PortIn(Register, String, String, String, Register, String)
Declaration
protected void PortIn(Register aDestReg, string aOpEquals, string aPortKeyword, string aOpOpenBracket, Register aPortReg, string aOpCloseBracket)
Parameters
Type |
Name |
Description |
Register |
aDestReg |
|
System.String |
aOpEquals |
|
System.String |
aPortKeyword |
|
System.String |
aOpOpenBracket |
|
Register |
aPortReg |
|
System.String |
aOpCloseBracket |
|
|
Improve this Doc
View Source
PortOut(String, String, Byte, String, String, Register)
Declaration
protected void PortOut(string aPortKeyword, string aOpOpenBracket, byte aPortNo, string aOpCloseBracket, string aOpEquals, Register aSrcReg)
Parameters
Type |
Name |
Description |
System.String |
aPortKeyword |
|
System.String |
aOpOpenBracket |
|
System.Byte |
aPortNo |
|
System.String |
aOpCloseBracket |
|
System.String |
aOpEquals |
|
Register |
aSrcReg |
|
|
Improve this Doc
View Source
PortOut(String, String, Register, String, String, Register)
Declaration
protected void PortOut(string aPortKeyword, string aOpOpenBracket, Register aPortReg, string aOpCloseBracket, string aOpEquals, Register aSrcReg)
Parameters
Type |
Name |
Description |
System.String |
aPortKeyword |
|
System.String |
aOpOpenBracket |
|
Register |
aPortReg |
|
System.String |
aOpCloseBracket |
|
System.String |
aOpEquals |
|
Register |
aSrcReg |
|
See Also