Hi, :( I don't believe what's happening with a program that i try to execute a program in 2 external EEPROM connected in a PIC17C756 (MICROPROCESSOR MODE) The first works well! I wrote 0 and 1 on PORTB, i measure in osciloscope a square wave! 00425 00426 00427 LIST P=17C756 00428 ;-------------------------------------------------------------------------- 00429 ; Program Code 00430 ;-------------------------------------------------------------------------- 00431 ;-------------------------------------------------------------------------- 00432 ; Set the reset vector here. If you are using a PIC 16C5X device, use: 00433 ; ORG <last program memory locati on> 00434 ; Otherwise, use: 00435 ; ORG 0 00436 ;-------------------------------------------------------------------------- 00437 0000 00438 ORG 0 0000 C001 00439 GOTO Start 00440 0001 00441 Start 0001 B800 00442 MOVLB BANK0 ;select bank1 0002 B000 00443 MOVLW 0x00 0003 0111 00444 MOVWF DDRB ; portb as output 00445 0004 00446 Loop 00447 0004 B000 00448 MOVLW 0x00 0005 0112 00449 MOVWF PORTB ; Flip-Flop 0006 B0FF 00450 MOVLW 0xFF 0007 0112 00451 MOVWF PORTB ; Flip-Flop 0008 C004 00452 goto Loop ; stay in LOOP 00453 00454 00455 END But, when i do a small change on Software, nothing happens, the osciloscope show s anything! 00437 0000 00438 ORG 0 0000 C001 00439 GOTO Start 00440 0001 00441 Start 0001 B800 00442 MOVLB BANK0 ;select bank1 0002 B000 00443 MOVLW 0x00 0003 0111 00444 MOVWF DDRB ; portb as output 00445 0004 00446 Loop 0004 B706 00447 lcall Sub ; call a FLIP-FLOP subr outine 0005 C004 00448 goto Loop ; stay in LOOP 0006 00449 Sub 00450 0006 B000 00451 MOVLW 0x00 0007 0112 00452 MOVWF PORTB ; Flip-Flop 0008 B0FF 00453 MOVLW 0xFF 0009 0112 00454 MOVWF PORTB ; Flip-Flop 000A 0002 00455 RETURN 00456 00457 END What am i doing wrong? Wait for other BIG question! (Now in MPLAB17-C) My mpab is 01.50, but i think that's not the problem! (BUG) Miguel Wisintainer