Trying my first "Tiny" Pic program I ran into a snag with the TRIS register. I had to use the simulator a play around until I got what looks like works? Why when I load the W, do have to put a operand after the tris command? I don't remember this from the old days when you could say "option"? A 6 seems to work, not very well documented? So.... option 6 works and gets thru the compiler? The error said something like 5-9 will work? It is Pic Magic Mike Crestline, Ca. - with a Giant storm and trash cans an buckets catching water comin in everywhere! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist