The errors went away by using constant ramtop=0x20 instead of ramtop set 0x0C now I'll see if my code assembles with MPASM :-) -- Chetan Bhargava Web: http://www.bhargavaz.net Blog: http://microz.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist