simulavr  1.1.0
avr_op_FMULS Class Reference

#include <decoder.h>

Inheritance diagram for avr_op_FMULS:

Public Member Functions

 avr_op_FMULS (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 Rd
 
unsigned char Rr
 
HWSregstatus
 
- Protected Attributes inherited from DecodedInstruction
AvrDevicecore
 Link to device instance. More...
 
bool size2Word
 Flag: true, if instruction has 2 words. More...
 

Detailed Description

Definition at line 696 of file decoder.h.

Constructor & Destructor Documentation

◆ avr_op_FMULS()

avr_op_FMULS::avr_op_FMULS ( word  opcode,
AvrDevice c 
)

Definition at line 653 of file decoder.cpp.

Member Function Documentation

◆ operator()()

int avr_op_FMULS::operator() ( )
virtual

Performs instruction.

Implements DecodedInstruction.

Definition at line 659 of file decoder.cpp.

References HWSreg_bool::C, DecodedInstruction::core, AvrDevice::GetCoreReg(), Rd, Rr, AvrDevice::SetCoreReg(), status, and HWSreg_bool::Z.

◆ Trace()

int avr_op_FMULS::Trace ( )
virtual

Performs instruction and write out instruction mnemonic for trace.

Implements DecodedInstruction.

Definition at line 326 of file decoder_trace.cpp.

References MONSREG, and traceOut.

Member Data Documentation

◆ Rd

unsigned char avr_op_FMULS::Rd
protected

Definition at line 709 of file decoder.h.

Referenced by operator()().

◆ Rr

unsigned char avr_op_FMULS::Rr
protected

Definition at line 710 of file decoder.h.

Referenced by operator()().

◆ status

HWSreg* avr_op_FMULS::status
protected

Definition at line 711 of file decoder.h.

Referenced by operator()().


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