It's PIC C Compiler from CCS, www.ccsinfo.com I don't know Hitech but i don't think it's very difficult to port to Hitech. #byte command are used to "rename" a Register. SamB -----Message d'origine----- De : pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] De la part de Eisermann, Phil [Ridg/CO] Envoy=E9 : mercredi 14 janvier 2004 22:07 =C0 : PICLIST@MITVMA.MIT.EDU Objet : [PIC]: which compiler is this? Hi all, I just inherited a program for a 16F73 written with a compiler. I use HiTech, and this isn't it. I need to buy this compiler ASAP rather than porting to HiTech, so here's lots of code copied out of the program: setup_timer_2( T2_DIV_BY_4, TIMER2_RELOAD, 1 ); set_pwm1_duty( 60 ); setup_ccp1( CCP_PWM ); Interrupts are setup like this: #int_timer2 void timer2Isr(void) {...} And this looks potentially helpful in identifying the compiler: // 'V' 3 2 0 #pragma id 0x56, 0x33, 0x32, 0x30 #pragma fuses XT, WDT, PROTECT, PUT, BROWNOUT #pragma use fast_io( A ) #pragma use fast_io( B ) #pragma use fast_io( C ) and finally: // locate some rarely used vars in upper segment to free ram for compiler vars #reserve 0xA0, 0xA1 #byte minPosition =3D 0xA0 #byte refPosition =3D 0xB2 #reserve 0x30, 0x31 #byte position =3D 0x30 #reserve 0xB6, 0xB7, 0xB8 #byte startKeyCnt =3D 0xB6 #byte boltWatchCnt =3D 0xB7 #byte handSwitchCnt =3D 0xB8 Any help greatly appreciated! Phil Eisermann Electronics Engineer The Ridge Tool Company (440)329-4680 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.