Hello, I am just trying to make a 16F877 do anything. Blink LEDs for all I care, but I am having no luck... Here is the code... ;====== XMTR.ASM ======================================== 2/08/02 ====== list p=16f877 radix hex ;-----= CPU EQUATES =--------------------------------------------------- tmr0 equ 0x01 status equ 0x03 porta equ 0x05 portb equ 0x06 portc equ 0x07 portd equ 0x08 porte equ 0x09 pclath equ 0x0a intcon equ 0x0b trisa equ 0x85 trisb equ 0x86 trisc equ 0x87 trisd equ 0x88 trise equ 0x89 adcon1 equ 0x9f rp0 equ 5 rp1 equ 6 ;-----= BIT EQUATES & VARIABLES =--------------------------------------- ;-----= PROGRAM =------------------------------------------------------- org 0x000 ; bcf status, rp0 bcf status, rp1 ; bsf status, rp0 movlw b'00000111' movwf adcon1 ; movlw b'00000000' movwf trisb ; bcf status, rp0 ; start nop clrf portb loop incf portb, f nop nop nop nop goto loop end VCC --- | / \ / \ | --- \ / V --- | ==PORT== As simple as that. I have it set to RC with a 10k and .1uF. On a scope RB 0-3 is changing but RB 4-7 isn't doing a thing, and when I connect an LED like in the diagram the PIC stops oscillating. What are the correct settings for the FUSES? -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body