> Ok, I've attached a file from his website which has asm code for > his 629. Can you pick out which parts are mainly related to my > initial question? So I can narrow it down to my specific inquisitions He's got include directives for all the .asm files in SMST4PIC.asm so you need to keep them together. Overall it's fairly well-commented, which is a big help. I get the impression, after a couple of quick looks through it, is that it's fine and has all you need, without too much extra. The best way to test it would be to make up the hardware and try it out Personally I might re-write it (mostly formatting, eg spaces instead of tabs) to suit my style, but otherwise it looks OK. Once you get into it and start breaking down the sections and functions you'll see it's not so complicated after all -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist