>How do I insert some assembler code into my C code >using the Hi-Tech PICC-18 Compiler? I've tried the >following: > >asm("btg PORTF,0"); > >But I get the error: > >undefined symbol PORTF You must write it as such: asm("btg _PORTF,0"); In general, you must prefix C variables with an underscore. __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body