avr_op_ANDI Class Reference

#include <decoder.h>

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

List of all members.

Public Member Functions

 avr_op_ANDI (word opcode, AvrDevice *c)
int operator() ()
 Performs instruction.
int Trace ()
 Performs instruction and write out instruction mnemonic for trace.

Protected Attributes

unsigned char R1
unsigned char K
HWSregstatus

Detailed Description

Definition at line 161 of file decoder.h.


Constructor & Destructor Documentation

avr_op_ANDI::avr_op_ANDI ( word  opcode,
AvrDevice c 
)

Definition at line 207 of file decoder.cpp.


Member Function Documentation

int avr_op_ANDI::operator() (  )  [virtual]

Performs instruction.

Implements DecodedInstruction.

Definition at line 213 of file decoder.cpp.

References DecodedInstruction::core, AvrDevice::GetCoreReg(), K, HWSreg_bool::N, R1, HWSreg_bool::S, AvrDevice::SetCoreReg(), status, HWSreg_bool::V, and HWSreg_bool::Z.

Referenced by Trace().

Here is the call graph for this function:

Here is the caller graph for this function:

int avr_op_ANDI::Trace (  )  [virtual]

Performs instruction and write out instruction mnemonic for trace.

Implements DecodedInstruction.

Definition at line 87 of file decoder_trace.cpp.

References K, MONSREG, operator()(), R1, and traceOut.

Here is the call graph for this function:


Member Data Documentation

unsigned char avr_op_ANDI::K [protected]

Definition at line 175 of file decoder.h.

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

unsigned char avr_op_ANDI::R1 [protected]

Definition at line 174 of file decoder.h.

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

Definition at line 176 of file decoder.h.

Referenced by operator()().


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