avr_op_SWAP Class Reference

#include <decoder.h>

Inheritance diagram for avr_op_SWAP:
Inheritance graph
[legend]
Collaboration diagram for avr_op_SWAP:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 2017 of file decoder.h.


Constructor & Destructor Documentation

avr_op_SWAP::avr_op_SWAP ( word  opcode,
AvrDevice c 
)

Definition at line 1748 of file decoder.cpp.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:


Member Data Documentation

unsigned char avr_op_SWAP::R1 [protected]

Definition at line 2030 of file decoder.h.

Referenced by operator()(), and Trace().


The documentation for this class was generated from the following files:
Generated on Sun Feb 12 16:49:31 2012 for Simulavr by  doxygen 1.6.3