#include <decoder.h>
Public Member Functions | |
avr_op_SWAP (word opcode, AvrDevice *c) | |
int | operator() () |
Performs instruction. | |
int | Trace () |
Performs instruction and write out instruction mnemonic for trace. | |
Protected Attributes | |
unsigned char | R1 |
Definition at line 2017 of file decoder.h.
Definition at line 1748 of file decoder.cpp.
int avr_op_SWAP::operator() | ( | ) | [virtual] |
Performs instruction.
Implements DecodedInstruction.
Definition at line 1752 of file decoder.cpp.
References DecodedInstruction::core, AvrDevice::GetCoreReg(), R1, and AvrDevice::SetCoreReg().
Referenced by Trace().
int avr_op_SWAP::Trace | ( | ) | [virtual] |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 741 of file decoder_trace.cpp.
References operator()(), R1, and traceOut.
unsigned char avr_op_SWAP::R1 [protected] |
Definition at line 2030 of file decoder.h.
Referenced by operator()(), and Trace().