> Since 10,000 in decimal is 0x2710 why not just do the 0x10+1 > (i.e.0x11) and be done with it Yes, I could do that. I'm still trying to pull that code apart, and would prefer it if I could at least assemble it so as to run it. So at a guess (uninformed at this stage) I presume the original expression is there to show how the 10+1 is derived from right-shifting the 10,000 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu