k, peeps, seems i have another problem, i just got hold of the chip i am planning to use for this project(16f876), and i cant seem to get PORTA to do anything. maybe this is a problem with the adc regs or sumthin: my test code: __CONFIG b'11111101110001' STATUS equ 0x83 PORTB equ 0x06 PORTA equ 0x05 ADCON0 equ 0x1F ADCON1 equ 0x9F org 0x10 bcf STATUS,5 ;select banks 0+1 bcf ADCON0,0 ;disable A/D module movlw 0x06 movwf ADCON1 ;set all of PORTA to digital clrf 0x85 ;set PORTA TO OUTPUT movlw 0xFF movwf PORTA ;switch on all outputs stop goto stop end -- View this message in context: http://www.nabble.com/seperate-num-into-tens%2Bunits-tf3356654.html#a9365946 Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist