#include <decoder.h>
Public Member Functions | |
avr_op_NEG (word opcode, AvrDevice *c) | |
int | operator() () |
Performs instruction. | |
int | Trace () |
Performs instruction and write out instruction mnemonic for trace. | |
Protected Attributes | |
unsigned char | Rd |
HWSreg * | status |
Definition at line 1278 of file decoder.h.
Definition at line 1112 of file decoder.cpp.
int avr_op_NEG::operator() | ( | ) | [virtual] |
Performs instruction.
Implements DecodedInstruction.
Definition at line 1117 of file decoder.cpp.
References HWSreg_bool::C, DecodedInstruction::core, AvrDevice::GetCoreReg(), HWSreg_bool::H, HWSreg_bool::N, Rd, HWSreg_bool::S, AvrDevice::SetCoreReg(), status, HWSreg_bool::V, and HWSreg_bool::Z.
Referenced by Trace().
int avr_op_NEG::Trace | ( | ) | [virtual] |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 527 of file decoder_trace.cpp.
References MONSREG, operator()(), Rd, and traceOut.
unsigned char avr_op_NEG::Rd [protected] |
Definition at line 1291 of file decoder.h.
Referenced by operator()(), and Trace().
HWSreg* avr_op_NEG::status [protected] |
Definition at line 1292 of file decoder.h.
Referenced by operator()().