Hello, I have experience with sdcc (small device c compiler), but I want to move to Hi-Tech PICC compiler. The problem is that I'm testing a very simple code and it doesn't work: #include void main(void){ unsigned char count = 0; TRISA = 0xff; while(1){ count++; PORTA=count; } } I'm compiling this in MPlab and it is okay, but when I go to watch and simulate the program, I see only the 'coun't variable change. PORTA doesn't change. I'm compiling this for PIC16F88. Any ideas what I am doing wrong? :) Regards, Ivan. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist