simulavr
1.1.0
|
#include <decoder.h>
Public Member Functions | |
avr_op_SBIW (word opcode, AvrDevice *c) | |
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... | |
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... | |
Protected Attributes | |
unsigned char | R1 |
unsigned char | K |
HWSreg * | status |
![]() | |
AvrDevice * | core |
Link to device instance. More... | |
bool | size2Word |
Flag: true, if instruction has 2 words. More... | |
Definition at line 1397 of file decoder.cpp.
|
virtual |
If this instruction modifies a R0-R31 register then return its number, otherwise -1.
Reimplemented from DecodedInstruction.
Definition at line 1403 of file decoder.cpp.
References R1.
|
virtual |
If this instruction modifies a pair of R0-R31 registers then ...
Reimplemented from DecodedInstruction.
Definition at line 1406 of file decoder.cpp.
References R1.
|
virtual |
Performs instruction.
Implements DecodedInstruction.
Definition at line 1409 of file decoder.cpp.
References HWSreg_bool::C, DecodedInstruction::core, AvrDevice::GetCoreReg(), K, HWSreg_bool::N, R1, HWSreg_bool::S, AvrDevice::SetCoreReg(), status, HWSreg_bool::V, and HWSreg_bool::Z.
|
virtual |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 629 of file decoder_trace.cpp.
|
protected |
Definition at line 1662 of file decoder.h.
Referenced by operator()().
|
protected |
Definition at line 1661 of file decoder.h.
Referenced by GetModifiedR(), GetModifiedRHi(), and operator()().
|
protected |
Definition at line 1663 of file decoder.h.
Referenced by operator()().