I am using SDCC. So it is little different from HiTech-C. Variables using in inline assemby should be global variables there. You can try it in your source code if it is not too complicated. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .