joe, print in hex is trivial. In the limit, it's this simple: putc(hexarray((a>>4)&0xf); putc(hexarray(a&0xf)); decimal is harder, and, in romcc, not worth the effort. I think this whole decimal escapade is not a good use of time. ron