|
fcml 1.3.0
|
#include <fcml_lag_assembler.hpp>
Public Member Functions | |
| MultiPassAssemblerContext () | |
| Default constructor. | |
| MultiPassAssemblerContext (EntryPoint::OperatingMode operatingMode, fcml_ip ip=0) | |
| Creates assembler context for given operating mode and instruction pointer. | |
| const AssemblerConf & | getConfig () const |
| Gets constant reference to assembler configuration. | |
| AssemblerConf & | getConfig () |
| Gets reference to the assembler configuration. | |
| void | setConfig (const AssemblerConf &config) |
| Sets a new assembler configuration. | |
| const EntryPoint & | getEntryPoint () const |
| Gets constant reference to the entry point. | |
| EntryPoint & | getEntryPoint () |
| Gets reference to the entry point. | |
| void | setEntryPoint (const EntryPoint &entryPoint) |
| Sets a new entry point. | |
| void | setIP (fcml_ip ip) |
| Sets a new instruction pointer. | |
| void | incrementIP (fcml_ip ip) |
| Increments the instruction pointer by given number of bytes. | |
| void | setOperatingMode (EntryPoint::OperatingMode operatingMode) |
| Sets a new processor operating mode for the entry point. | |
| void | setAddressSizeAttribute (fcml_usize addressSizeAttribute) |
| Sets a new address size attribute for the entry point. | |
| void | setOperandSizeAttribute (fcml_usize operandSizeAttribute) |
| Sets a new operand size attribute for the entry point. | |
| const SymbolTable * | getSymbolTable () const |
| Gets a pointer to the constant symbol table stored in the context. | |
| SymbolTable * | getSymbolTable () |
| Gets a pointer to the symbol table stored in the context. | |
| void | setSymbolTable (SymbolTable *symbolTable) |
| Sets a new symbol table for the context. | |
Assembler context.
|
inline |
Default constructor.
|
inline |
Creates assembler context for given operating mode and instruction pointer.
| operatingMode | The operating mode. |
| ip | The instruction pointer. |
|
inline |
|
inline |
|
inline |
Gets reference to the entry point.
|
inline |
Gets constant reference to the entry point.
|
inline |
Gets a pointer to the symbol table stored in the context.
|
inline |
Gets a pointer to the constant symbol table stored in the context.
|
inline |
Increments the instruction pointer by given number of bytes.
| ip | The number of bytes the instruction pointer should be incremented by. |
|
inline |
Sets a new address size attribute for the entry point.
| addressSizeAttribute | The address size attribute. |
|
inline |
|
inline |
Sets a new entry point.
| entryPoint | Entry point to be set. |
|
inline |
Sets a new instruction pointer.
| ip | A new instruction pointer. |
|
inline |
Sets a new operand size attribute for the entry point.
| operandSizeAttribute | The operand size attribute. |
|
inline |
Sets a new processor operating mode for the entry point.
| operatingMode | The new operating mode. |
|
inline |
Sets a new symbol table for the context.
| symbolTable | The new symbol table to be set. |