simulavr
1.1.0
|
#include <decoder.h>
Public Member Functions | |
avr_op_RCALL (word opcode, AvrDevice *c) | |
int | operator() () |
Performs instruction. More... | |
int | Trace () |
Performs instruction and write out instruction mnemonic for trace. More... | |
![]() | |
DecodedInstruction (AvrDevice *c, bool s2w=false) | |
virtual | ~DecodedInstruction () |
bool | IsInstruction2Words () |
Returns true, if instruction need 2 words (4byte) More... | |
virtual unsigned char | GetModifiedR () const |
If this instruction modifies a R0-R31 register then return its number, otherwise -1. More... | |
virtual unsigned char | GetModifiedRHi () const |
If this instruction modifies a pair of R0-R31 registers then ... More... | |
Protected Attributes | |
signed int | K |
![]() | |
AvrDevice * | core |
Link to device instance. More... | |
bool | size2Word |
Flag: true, if instruction has 2 words. More... | |
Definition at line 1203 of file decoder.cpp.
|
virtual |
Performs instruction.
Implements DecodedInstruction.
Definition at line 1207 of file decoder.cpp.
References DecodedInstruction::core, AvrDevice::DebugOnJump(), AvrDevice::flagTiny10, AvrDevice::flagXMega, AvrDevice::Flash, Memory::GetSize(), K, HWStack::m_ThreadList, ThreadList::OnCall(), AvrDevice::PC, AvrDevice::PC_size, HWStack::PushAddr(), and AvrDevice::stack.
|
virtual |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 566 of file decoder_trace.cpp.
References traceOut.
|
protected |
Definition at line 1444 of file decoder.h.
Referenced by operator()().