G'day all, I'm xpting with an 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. RB0 int + int on change enabled. movwf INTCON fin: nop sleep nop break03: goto fin ;Terminate the program. But it ain't responding when I hit the asynch stimulus buttons in MATLAB 5.40. Er ... what am I missing? Thanks - Brian _________________________________________________________________ We've 100s of NEW questions! Play Millionaire online to win $$$$. Click here http://sites.ninemsn.com.au/minisite/millionaire/default.asp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.