simulavr  1.1.0
avr_op_OUT Class Reference

#include <decoder.h>

Inheritance diagram for avr_op_OUT:

Public Member Functions

 avr_op_OUT (word opcode, AvrDevice *c)
 
int operator() ()
 Performs instruction. More...
 
int Trace ()
 Performs instruction and write out instruction mnemonic for trace. More...
 
- Public Member Functions inherited from DecodedInstruction
 DecodedInstruction (AvrDevice *c, bool s2w=false)
 
virtual ~DecodedInstruction ()
 
bool IsInstruction2Words ()
 Returns true, if instruction need 2 words (4byte) More...
 
virtual unsigned char GetModifiedR () const
 If this instruction modifies a R0-R31 register then return its number, otherwise -1. More...
 
virtual unsigned char GetModifiedRHi () const
 If this instruction modifies a pair of R0-R31 registers then ... More...
 

Protected Attributes

unsigned char ioreg
 
unsigned char R1
 
- Protected Attributes inherited from DecodedInstruction
AvrDevicecore
 Link to device instance. More...
 
bool size2Word
 Flag: true, if instruction has 2 words. More...
 

Friends

class AvrFlash
 

Detailed Description

Definition at line 1365 of file decoder.h.

Constructor & Destructor Documentation

◆ avr_op_OUT()

avr_op_OUT::avr_op_OUT ( word  opcode,
AvrDevice c 
)

Definition at line 1172 of file decoder.cpp.

Member Function Documentation

◆ operator()()

int avr_op_OUT::operator() ( )
virtual

Performs instruction.

Implements DecodedInstruction.

Definition at line 1177 of file decoder.cpp.

References DecodedInstruction::core, AvrDevice::GetCoreReg(), ioreg, R1, and AvrDevice::SetIOReg().

◆ Trace()

int avr_op_OUT::Trace ( )
virtual

Performs instruction and write out instruction mnemonic for trace.

Implements DecodedInstruction.

Definition at line 548 of file decoder_trace.cpp.

References traceOut.

Friends And Related Function Documentation

◆ AvrFlash

friend class AvrFlash
friend

Definition at line 1386 of file decoder.h.

Member Data Documentation

◆ ioreg

unsigned char avr_op_OUT::ioreg
protected

Definition at line 1378 of file decoder.h.

Referenced by AvrFlash::LooksLikeContextSwitch(), and operator()().

◆ R1

unsigned char avr_op_OUT::R1
protected

Definition at line 1379 of file decoder.h.

Referenced by AvrFlash::LooksLikeContextSwitch(), and operator()().


The documentation for this class was generated from the following files: