I just discovered this thread at Microchip User Foru= ms. I found that MPASM assemble for PIC18: HALT -> 0x001 TRAP -> 0x0E0 TRET -> 0x0E1 And for PIC16: HALT -> 0x061 I'm going to test these instructions tomorrow. They (or some of them) should help debugging a lot. Regards, Isaac __________________________________________________ Fale com seus amigos de gra=E7a com o novo Yahoo! Messenger = http://br.messenger.yahoo.com/ = -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist