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 = 0xA0 #byte refPosition = 0xB2 #reserve 0x30, 0x31 #byte position = 0x30 #reserve 0xB6, 0xB7, 0xB8 #byte startKeyCnt = 0xB6 #byte boltWatchCnt = 0xB7 #byte handSwitchCnt = 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.