|
|
| EmuContext (const me_adr_t &pc, const OpCode &op_code, const IInstrToMnemonic &instr_decoder, IRegAccessor ®_access, ISpecialRegAccessor &spec_reg_access) noexcept |
| |
|
me_adr_t | GetPc () const noexcept |
| | Gets the program counter of the current instruction.
|
| |
|
IRegAccessor & | GetRegisterAccessor () noexcept |
| | Gets the register accessor.
|
| |
|
ISpecialRegAccessor & | GetSpecialRegisterAccessor () noexcept |
| | Gets the special register accessor.
|
| |
|
const OpCode & | GetOpCode () const noexcept |
| | Gets the opcode of the current instruction.
|
| |
| void | BuildMnemonic (char *buf, std::size_t buf_len) const noexcept |
| | Builds the mnemonic of the current instruction This takes the current instruction and decodes it into a human readable string. Attention this is a resource intensive operation.
|
| |
◆ BuildMnemonic()
| void libmicroemu::EmuContext::BuildMnemonic |
( |
char * | buf, |
|
|
std::size_t | buf_len ) const |
|
inlinenoexcept |
Builds the mnemonic of the current instruction This takes the current instruction and decodes it into a human readable string. Attention this is a resource intensive operation.
- Parameters
-
| buf | The buffer to store the mnemonic. |
| buf_len | The length of the buffer. |
The documentation for this class was generated from the following file: