#include <decoder.h>
Public Member Functions | |
avr_op_AND (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 | R2 |
HWSreg * | status |
Definition at line 138 of file decoder.h.
Definition at line 188 of file decoder.cpp.
int avr_op_AND::operator() | ( | ) | [virtual] |
Performs instruction.
Implements DecodedInstruction.
Definition at line 194 of file decoder.cpp.
References DecodedInstruction::core, AvrDevice::GetCoreReg(), HWSreg_bool::N, R1, R2, HWSreg_bool::S, AvrDevice::SetCoreReg(), status, HWSreg_bool::V, and HWSreg_bool::Z.
Referenced by Trace().
int avr_op_AND::Trace | ( | ) | [virtual] |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 80 of file decoder_trace.cpp.
References MONSREG, operator()(), R1, R2, and traceOut.
unsigned char avr_op_AND::R1 [protected] |
Definition at line 151 of file decoder.h.
Referenced by operator()(), and Trace().
unsigned char avr_op_AND::R2 [protected] |
Definition at line 152 of file decoder.h.
Referenced by operator()(), and Trace().
HWSreg* avr_op_AND::status [protected] |
Definition at line 153 of file decoder.h.
Referenced by operator()().