#include <decoder.h>
Public Member Functions | |
avr_op_SBIW (word opcode, AvrDevice *c) | |
virtual unsigned char | GetModifiedR () const |
If this instruction modifies a R0-R31 register then return its number, otherwise -1. | |
virtual unsigned char | GetModifiedRHi () const |
If this instruction modifies a pair of R0-R31 registers then ... | |
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 1648 of file decoder.h.
Definition at line 1403 of file decoder.cpp.
unsigned char avr_op_SBIW::GetModifiedR | ( | ) | const [virtual] |
If this instruction modifies a R0-R31 register then return its number, otherwise -1.
Reimplemented from DecodedInstruction.
Definition at line 1409 of file decoder.cpp.
References R1.
unsigned char avr_op_SBIW::GetModifiedRHi | ( | ) | const [virtual] |
If this instruction modifies a pair of R0-R31 registers then ...
Reimplemented from DecodedInstruction.
Definition at line 1412 of file decoder.cpp.
References R1.
int avr_op_SBIW::operator() | ( | ) | [virtual] |
Performs instruction.
Implements DecodedInstruction.
Definition at line 1415 of file decoder.cpp.
References HWSreg_bool::C, 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().
int avr_op_SBIW::Trace | ( | ) | [virtual] |
Performs instruction and write out instruction mnemonic for trace.
Implements DecodedInstruction.
Definition at line 635 of file decoder_trace.cpp.
References K, MONSREG, operator()(), R1, and traceOut.
unsigned char avr_op_SBIW::K [protected] |
Definition at line 1662 of file decoder.h.
Referenced by operator()(), and Trace().
unsigned char avr_op_SBIW::R1 [protected] |
Definition at line 1661 of file decoder.h.
Referenced by GetModifiedR(), GetModifiedRHi(), operator()(), and Trace().
HWSreg* avr_op_SBIW::status [protected] |
Definition at line 1663 of file decoder.h.
Referenced by operator()().