Logo Search packages:      
Sourcecode: ktechlab version File versions

uchar PIC14::gprStart (  )  const

Returns the address that the General Purpose Registers starts at.

Definition at line 136 of file pic14.cpp.

References m_type.

Referenced by Code::generateCode().

      switch ( m_type )
            case P16C84:
            case P16F84:
                  return 0xc;
            case P16F627:
            case P16F628:
            case P16F877:
                  return 0x20;
            case unknown:
      kdError() << k_funcinfo << "Unknown PIC type = " << m_type << endl;
      return 0xc;

Generated by  Doxygen 1.6.0   Back to index