Hi Paul, > > for example > > movb pa0,z > > now translates to > > > BTFSS status, z > > BCF status, pa0 > > BTFSC status, z > > BSF status, pa0 > > Is that *exactly* what the Parallax assembler does? Must be. Yep, that's what is does, and it's been documented that way from the beginning (since 1991) along with the native coding, cycle count, and comments about which flags and registers, if any, are affected. You can find the information in the following documents which also list the predefined symbols for the last version of SPASM. ftp://ftp.parallaxinc.com/pub/acrobat/picman40.pdf 3.9M ftp://ftp.parallaxinc.com/pub/parallax/readme.txt 44k > Cute and "high-level", but also rather deceptive, takes a whole *four* >instructions with clock cycles to match. Not always good to make you >think certain operations are easy when they actually aren't. IMHO 8051 users who were used to variable timing instructions were the target audience - the intent was convenience rather than deception. I wasn't with Parallax at the time, but back then it was the Microchip mnemonics that looked weird. The Parallax assembler always supported the Microchip mnemonics too, so the authors of the code you're converting had the choice. Cheers, Russ ------------------------------------------------------------- Russ Miller Parallax, Inc. 916-624-8333 Mechanical Engineer / Stamps in Class Technical Advisor http://www.parallaxinc.com/ BASIC Stamps and SX tools http://www.stampsinclass.com/ BASIC Stamp teaching resources http://www.sxtech.com/ $99 University SX-Key Dev Kit -------------------------------------------------------------