avr_op_BRBC Class Reference

#include <decoder.h>

Inheritance diagram for avr_op_BRBC:
Inheritance graph
[legend]
Collaboration diagram for avr_op_BRBC:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 avr_op_BRBC (word opcode, AvrDevice *c)
int operator() ()
 Performs instruction.
int Trace ()
 Performs instruction and write out instruction mnemonic for trace.

Protected Attributes

HWSregstatus
unsigned char bitmask
signed char offset

Detailed Description

Definition at line 251 of file decoder.h.


Constructor & Destructor Documentation

avr_op_BRBC::avr_op_BRBC ( word  opcode,
AvrDevice c 
)

Definition at line 280 of file decoder.cpp.


Member Function Documentation

int avr_op_BRBC::operator() (  )  [virtual]

Performs instruction.

Implements DecodedInstruction.

Definition at line 286 of file decoder.cpp.

References bitmask, DecodedInstruction::core, AvrDevice::DebugOnJump(), offset, AvrDevice::PC, and status.

Referenced by Trace().

Here is the call graph for this function:

Here is the caller graph for this function:

int avr_op_BRBC::Trace (  )  [virtual]

Performs instruction and write out instruction mnemonic for trace.

Implements DecodedInstruction.

Definition at line 136 of file decoder_trace.cpp.

References bitmask, branch_opcodes_clear, DecodedInstruction::core, AvrDevice::Flash, Memory::GetSymbolAtAddress(), INDEX_FROM_BITMASK, offset, operator()(), AvrDevice::PC, and traceOut.

Here is the call graph for this function:


Member Data Documentation

unsigned char avr_op_BRBC::bitmask [protected]

Definition at line 270 of file decoder.h.

Referenced by operator()(), and Trace().

signed char avr_op_BRBC::offset [protected]

Definition at line 271 of file decoder.h.

Referenced by operator()(), and Trace().

Definition at line 269 of file decoder.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Sun Feb 12 16:45:34 2012 for Simulavr by  doxygen 1.6.3