fcml
1.1.0
|
Describes an assembled instruction. More...
#include <fcml_assembler.hpp>
Public Member Functions | |
AssembledInstruction (const fcml_uint8_t *buffer, fcml_usize len, const ErrorContainer &errorContainer) | |
Creates an assembled instruction basing on given code buffer and errors. More... | |
AssembledInstruction (const AssembledInstruction &cpy) | |
Copy constructor. More... | |
AssembledInstruction & | operator= (const AssembledInstruction &cpy) |
Copies one instruction into another. More... | |
virtual | ~AssembledInstruction () |
const fcml_uint8_t * | getCode () const |
Gets pointer to machine code buffer. More... | |
fcml_usize | getCodeLength () const |
Gets number of bytes in the buffer. More... | |
const ErrorContainer & | getWarningContainer () const |
Gets reference to the errors container. More... | |
Describes an assembled instruction.
|
inline |
Creates an assembled instruction basing on given code buffer and errors.
buffer | Pointer to the machine code buffer. |
len | Number of machine code bytes. |
errorContainer | Potential warnings related to the assembled instruction. |
|
inline |
Copy constructor.
|
inlinevirtual |
|
inline |
Gets pointer to machine code buffer.
|
inline |
Gets number of bytes in the buffer.
|
inline |
Gets reference to the errors container.
|
inline |
Copies one instruction into another.
cpy | The source instruction. |