#include <instruction.h>
Collaboration diagram for ProcessorBehaviour:

Public Member Functions | |
| ProcessorBehaviour () | |
| void | reset () |
| RegisterBehaviour & | reg (const Register ®) |
Public Attributes | |
| RegisterBehaviour | working |
| The working register. | |
| RegisterBehaviour | status |
| The status register. | |
Protected Types | |
| typedef QMap< Register, RegisterBehaviour > | RegisterMap |
Protected Attributes | |
| RegisterMap | m_registers |
Definition at line 394 of file instruction.h.
| void ProcessorBehaviour::reset | ( | ) |
Calls reset() for each RegisterBehaviour.
Definition at line 731 of file instruction.cpp.
References m_registers, RegisterBehaviour::reset(), status, and working.
| RegisterBehaviour & ProcessorBehaviour::reg | ( | const Register & | reg | ) |
Definition at line 742 of file instruction.cpp.
References m_registers, status, and working.
Referenced by Instr_btfss::behaviour(), Instr_btfsc::behaviour(), Instr_bsf::behaviour(), Instr_bcf::behaviour(), Instr_xorwf::behaviour(), Instr_swapf::behaviour(), Instr_subwf::behaviour(), Instr_rrf::behaviour(), Instr_rlf::behaviour(), Instr_movwf::behaviour(), Instr_movf::behaviour(), Instr_iorwf::behaviour(), Instr_incf::behaviour(), Instr_decfsz::behaviour(), Instr_decf::behaviour(), Instr_clrf::behaviour(), Instr_andwf::behaviour(), Instr_addwf::behaviour(), Optimizer::optimizeInstructions(), and Optimizer::registerDepends().
RegisterMap ProcessorBehaviour::m_registers [protected] |
All registers other than working and status. Entries are created on calls to reg with a new Register.
Definition at line 419 of file instruction.h.
1.5.1