Assembler context.
More...
#include <fcml_lag_assembler.hpp>
Assembler context.
- Since
- 1.1.0
◆ MultiPassAssemblerContext() [1/2]
fcml::MultiPassAssemblerContext::MultiPassAssemblerContext |
( |
| ) |
|
|
inline |
Default constructor.
- Since
- 1.1.0
◆ MultiPassAssemblerContext() [2/2]
Creates assembler context for given operating mode and instruction pointer.
- Parameters
-
operatingMode | The operating mode. |
ip | The instruction pointer. |
- Since
- 1.1.0
◆ getConfig() [1/2]
const AssemblerConf& fcml::MultiPassAssemblerContext::getConfig |
( |
| ) |
const |
|
inline |
Gets constant reference to assembler configuration.
- Returns
- Assembler configuration.
- Since
- 1.1.0
◆ getConfig() [2/2]
Gets reference to the assembler configuration.
- Returns
- Assembler configuration.
- Since
- 1.1.0
◆ getEntryPoint() [1/2]
const EntryPoint& fcml::MultiPassAssemblerContext::getEntryPoint |
( |
| ) |
const |
|
inline |
Gets constant reference to the entry point.
- Returns
- Entry point.
- Since
- 1.1.0
◆ getEntryPoint() [2/2]
EntryPoint& fcml::MultiPassAssemblerContext::getEntryPoint |
( |
| ) |
|
|
inline |
Gets reference to the entry point.
- Returns
- Entry point.
- Since
- 1.1.0
◆ getSymbolTable() [1/2]
const SymbolTable* fcml::MultiPassAssemblerContext::getSymbolTable |
( |
| ) |
const |
|
inline |
Gets a pointer to the constant symbol table stored in the context.
- Returns
- The pointer to the symbol table.
- Since
- 1.1.0
◆ getSymbolTable() [2/2]
SymbolTable* fcml::MultiPassAssemblerContext::getSymbolTable |
( |
| ) |
|
|
inline |
Gets a pointer to the symbol table stored in the context.
- Returns
- The pointer to the symbol table.
- Since
- 1.1.0
◆ incrementIP()
void fcml::MultiPassAssemblerContext::incrementIP |
( |
fcml_ip |
ip | ) |
|
|
inline |
Increments the instruction pointer by given number of bytes.
- Parameters
-
ip | The number of bytes the instruction pointer should be incremented by. |
- Since
- 1.1.0
◆ setAddressSizeAttribute()
void fcml::MultiPassAssemblerContext::setAddressSizeAttribute |
( |
fcml_usize |
addressSizeAttribute | ) |
|
|
inline |
Sets a new address size attribute for the entry point.
- Parameters
-
addressSizeAttribute | The address size attribute. |
- Since
- 1.1.0
◆ setConfig()
void fcml::MultiPassAssemblerContext::setConfig |
( |
const AssemblerConf & |
config | ) |
|
|
inline |
Sets a new assembler configuration.
- Returns
- Assembler configuration.
- Since
- 1.1.0
◆ setEntryPoint()
void fcml::MultiPassAssemblerContext::setEntryPoint |
( |
const EntryPoint & |
entryPoint | ) |
|
|
inline |
Sets a new entry point.
- Parameters
-
entryPoint | Entry point to be set. |
- Since
- 1.1.0
◆ setIP()
void fcml::MultiPassAssemblerContext::setIP |
( |
fcml_ip |
ip | ) |
|
|
inline |
Sets a new instruction pointer.
- Parameters
-
ip | A new instruction pointer. |
- Since
- 1.1.0
◆ setOperandSizeAttribute()
void fcml::MultiPassAssemblerContext::setOperandSizeAttribute |
( |
fcml_usize |
operandSizeAttribute | ) |
|
|
inline |
Sets a new operand size attribute for the entry point.
- Parameters
-
operandSizeAttribute | The operand size attribute. |
- Since
- 1.1.0
◆ setOperatingMode()
Sets a new processor operating mode for the entry point.
- Parameters
-
operatingMode | The new operating mode. |
- Since
- 1.1.0
◆ setSymbolTable()
void fcml::MultiPassAssemblerContext::setSymbolTable |
( |
SymbolTable * |
symbolTable | ) |
|
|
inline |
Sets a new symbol table for the context.
- Parameters
-
symbolTable | The new symbol table to be set. |
- Since
- 1.1.0
The documentation for this class was generated from the following file: