/** * @module instructions * @author Guenther Neuwirth (0626638), Manuel Mausz (0728348) * @brief TODO * @date 10.05.2009 */ #ifndef INSTRUCTIONS_H #define INSTRUCTIONS_H 1 #include "cinstruction.h" #include "ccpu.h" /** * @class CInstructionInc * * TODO */ class CInstructionInc : public CInstruction { public: /** * @method CInstruction * @brief Default ctor * @param - * @return - * @globalvars none * @exception none * @conditions none */ CInstructionInc() : CInstruction("inc") {}; /** * @method ~CInstruction * @brief Default dtor * @param - * @return - * @globalvars none * @exception none * @conditions none */ ~CInstructionInc() {}; /* TODO */ CInstructionInc *factory() { return new CInstructionInc; } /* TODO */ void compile(std::list& params); /* TODO */ void execute(CCPU *cpu); protected: unsigned m_regidx1; }; #endif /* vim: set et sw=2 ts=2: */