In message <199702102217.OAA11646@dfw-ix1.ix.netcom.com> PICLIST@MITVMA.MIT.EDU writes: > Mike: > > It's trivial, I know, but you can rewrite the above macro to allow it > to generate code like the following when the high and low bytes of > "lll" happen to be equal: Andy, Nice one. I never thought of that situation. I'll pinch it if I may. All three macros are trivial, but they are my first(s). I've been having a look at some of the available C compilers and am experimenting to see if some well crafted macros can provide things that some of the c compilers can't - like signed integer math for one. Regards, Mike Watson