avr_op_MUL Class Reference

#include <decoder.h>

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

List of all members.

Public Member Functions

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

Protected Attributes

unsigned char Rd
unsigned char Rr
HWSregstatus

Detailed Description

Definition at line 1206 of file decoder.h.


Constructor & Destructor Documentation

avr_op_MUL::avr_op_MUL ( word  opcode,
AvrDevice c 
)

Definition at line 1045 of file decoder.cpp.


Member Function Documentation

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

Performs instruction.

Implements DecodedInstruction.

Definition at line 1051 of file decoder.cpp.

References HWSreg_bool::C, DecodedInstruction::core, AvrDevice::GetCoreReg(), Rd, Rr, AvrDevice::SetCoreReg(), status, 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_MUL::Trace (  )  [virtual]

Performs instruction and write out instruction mnemonic for trace.

Implements DecodedInstruction.

Definition at line 506 of file decoder_trace.cpp.

References MONSREG, operator()(), Rd, Rr, and traceOut.

Here is the call graph for this function:


Member Data Documentation

unsigned char avr_op_MUL::Rd [protected]

Definition at line 1219 of file decoder.h.

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

unsigned char avr_op_MUL::Rr [protected]

Definition at line 1220 of file decoder.h.

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

HWSreg* avr_op_MUL::status [protected]

Definition at line 1221 of file decoder.h.

Referenced by operator()().


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