Doctor Who wrote : > I'm xpting Experimenting ? Or ? > with a 16F877. Testing interrupt on change on > RB4-7, like so :- > > setint: > nop > BANK_1 > movlw b'11000000' ; > movwf OPTION_REG > BANK_0 > movlw b'11011000' ;Enable the interrupts > movwf INTCON > fin: > nop > sleep > nop > break03: > goto fin ;Terminate the programme. > > But it ain't responding when I hit the asynch stimulus > buttons in MATLAB 5.40. Er ... what am I missing? MPLAB, right ? If so, have you tried with latest version ? Anyway, maybe you should enable interrupts ? (Hint : check INTCON, PIE1 and PIE2...) Jan-Erik. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.