In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: Peter, Arghhhh - you are absolutely right. Maybe, I should look at the docs before posting "tutorials" - please beat me for that. John, To make it clear mov M, #(tmsg >> 8) + 1 is NOT replaced by two instructions - the mov M, #literal and mov M, W instructions are both single-word instructions. I messed that up with MOV M, fr which is, in fact, a compound instruction using W as temporary storage that is expanded to MOW W, fr MOW M, W Nevertheless, I still stand to the remainder of my "quick tutorial" - sorry for that hazzle. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=84844#m84999 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)