Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

picinfo12bit.h

/***************************************************************************
 *   Copyright (C) 2003-2004 by David Saxton                               *
 *   david@bluehaze.org                                                    *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

#ifndef PICINFO12BIT_H
#define PICINFO12BIT_H

#include "picinfo.h"
#include "asminfo.h"

/**
@short 12 Bit PIC Instructions
@author David Saxton
 */
00021 class PicAsm12bit : public AsmInfo
{
      public:
            static PicAsm12bit *self();
00025             virtual Set set() const { return AsmInfo::PIC12; }
      
      protected:
            static PicAsm12bit *m_self;
      
      private:
            PicAsm12bit();
};

/**
@author David Saxton
 */
00037 class PicInfo12bit : public PicInfo
{
      public:
            PicInfo12bit();
            ~PicInfo12bit();
      
            virtual AsmInfo * instructionSet() { return PicAsm12bit::self(); }
};

/**
@author David Saxton
 */
00049 class PicInfo16C54 : public PicInfo12bit
{
      public:
            PicInfo16C54();
            ~PicInfo16C54();
00054             virtual Support gpsimSupport() const { return FullSupport; }
};

/**
@author David Saxton
 */
00060 class PicInfo16C55 : public PicInfo12bit
{
      public:
            PicInfo16C55();
            ~PicInfo16C55();
00065             virtual Support gpsimSupport() const { return FullSupport; }
};

/**
@author David Saxton
 */
00071 class PicInfo12C508 : public PicInfo12bit
{
      public:
            PicInfo12C508();
            ~PicInfo12C508();
00076             virtual Support gpsimSupport() const { return FullSupport; }
};

/**
@author David Saxton
 */
00082 class PicInfo12C509 : public PicInfo12C508
{
      public:
            PicInfo12C509();
            ~PicInfo12C509();
00087             virtual Support gpsimSupport() const { return FullSupport; }
};

/**
@author David Saxton
 */
00093 class PicInfo12C671 : public PicInfo12C508
{
      public:
            PicInfo12C671();
            ~PicInfo12C671();
00098             virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
00104 class PicInfo12C672 : public PicInfo12C508
{
      public:
            PicInfo12C672();
            ~PicInfo12C672();
00109             virtual Support gpsimSupport() const { return NoSupport; }
};

#endif

Generated by  Doxygen 1.6.0   Back to index