Instr_rlf Class Reference

Inheritance diagram for Instr_rlf:

Inheritance graph
[legend]
Collaboration diagram for Instr_rlf:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Instr_rlf (const Register &file, int dest)
virtual QString code () const
virtual void generateLinksAndStates (Code::iterator current)
virtual ProcessorBehaviour behaviour () const
virtual AssemblyType assemblyType () const

Detailed Description

Definition at line 964 of file instruction.h.


Member Function Documentation

QString Instr_rlf::code (  )  const [virtual]

The text to output to the generated assembly.

Implements Instruction.

Definition at line 1656 of file instruction.cpp.

References Instruction::m_dest, Instruction::m_file, and Register::name().

void Instr_rlf::generateLinksAndStates ( Code::iterator  current  )  [virtual]

By using the ProcessorState, the Instruction should: * Find all instructions that could be executed after this instruction. * Generate the output ProcessorState. The default behaviour of this function is to link to the next sequential instruction, and to generate an unknown ProcessorState.

Warning:
if your instruction depends on any bits, then it must reinherit this function and say so.
Parameters:
instruction points at this instruction

Reimplemented from Instruction.

Definition at line 1661 of file instruction.cpp.

References RegisterState::known, Instruction::m_inputState, Instruction::m_outputState, Instruction::makeOutputLinks(), Instruction::outputReg(), ProcessorState::reg(), and ProcessorState::status.

ProcessorBehaviour Instr_rlf::behaviour (  )  const [virtual]

Returns:
the processor behaviour for this instruction.

Reimplemented from Instruction.

Definition at line 1671 of file instruction.cpp.

References Register::bankDependent(), RegisterBehaviour::depends, RegisterBehaviour::indep, Instruction::m_dest, Instruction::m_file, ProcessorBehaviour::reg(), ProcessorBehaviour::status, and ProcessorBehaviour::working.

virtual AssemblyType Instr_rlf::assemblyType (  )  const [inline, virtual]

Returns:
the AssemblyType (None for non-Assembly instructions).

Implements Instruction.

Definition at line 971 of file instruction.h.

References Instruction::FileOriented.


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:44 2007 for KTechLab by  doxygen 1.5.1