Свойство | Тип | Описание | |
---|---|---|---|
codeStream | Stream | ||
linker | |||
patches | List |
Метод | Описание | |
---|---|---|
Emit ( OpcodeEncoder opcode ) : void |
Emits the specified opcode.
|
|
Emit ( OpcodeEncoder opcode, |
||
GetPosition ( int label ) : int |
Gets the position.
|
|
Initialize ( string methodName, |
Initializes a new instance of BaseCodeEmitter.
|
|
Label ( int label ) : void |
Emits a label into the code stream.
|
|
ResolvePatches ( ) : void | ||
Write ( byte buffer, int offset, int count ) : void |
Writes the byte.
|
|
WriteByte ( byte data ) : void |
Writes the byte.
|
Метод | Описание | |
---|---|---|
AddPatch ( int label, int position ) : void | ||
TryGetLabel ( int label, int &position ) : bool |
protected AddPatch ( int label, int position ) : void | ||
label | int | |
position | int | |
Результат | void |
public Emit ( OpcodeEncoder opcode ) : void | ||
opcode | OpcodeEncoder | The opcode. |
Результат | void |
public Emit ( OpcodeEncoder opcode, |
||
opcode | OpcodeEncoder | |
symbolOperand | ||
patchOffset | int | |
referenceOffset | int | |
Результат | void |
public GetPosition ( int label ) : int | ||
label | int | The label. |
Результат | int |
public Initialize ( string methodName, |
||
methodName | string | Name of the method. |
linker | The linker. | |
codeStream | Stream | The stream the machine code is written to. |
Результат | void |
public Label ( int label ) : void | ||
label | int | The label name to emit. |
Результат | void |
public abstract ResolvePatches ( ) : void | ||
Результат | void |
protected TryGetLabel ( int label, int &position ) : bool | ||
label | int | |
position | int | |
Результат | bool |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer. |
offset | int | The offset. |
count | int | The count. |
Результат | void |
public WriteByte ( byte data ) : void | ||
data | byte | The data. |
Результат | void |
protected BaseLinker,Mosa.Compiler.Linker linker | ||
Результат |