#include <decoder.h>
Public Member Functions | |
avr_op_CPI (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 |
HWSreg * | status |
Definition at line 465 of file decoder.h.
Definition at line 446 of file decoder.cpp.
int avr_op_CPI::operator() | ( | ) | [virtual] |
Performs instruction.
Implements DecodedInstruction.
Definition at line 452 of file decoder.cpp.
References HWSreg_bool::C, DecodedInstruction::core, get_compare_carry(), get_compare_overflow(), AvrDevice::GetCoreReg(), HWSreg_bool::H, K, HWSreg_bool::N, R1, HWSreg_bool::S, status, HWSreg_bool::V, and HWSreg_bool::Z.
Referenced by Trace().
int avr_op_CPI::Trace | ( | ) | [virtual] |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 239 of file decoder_trace.cpp.
References K, MONSREG, operator()(), R1, and traceOut.
unsigned char avr_op_CPI::K [protected] |
Definition at line 479 of file decoder.h.
Referenced by operator()(), and Trace().
unsigned char avr_op_CPI::R1 [protected] |
Definition at line 478 of file decoder.h.
Referenced by operator()(), and Trace().
HWSreg* avr_op_CPI::status [protected] |
Definition at line 480 of file decoder.h.
Referenced by operator()().