G'day all, Sorry if this is a dupe - i messed up the [PIC] tag 1st time. :( I'm xpting 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? Thanks - Brian _________________________________________________________________ Personalise your mobile chart ringtones and polyphonics. Go to http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.