[LinuxBIOS] Convert hex to dec

ron minnich rminnich at gmail.com
Sat Jul 7 02:52:59 CEST 2007


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




More information about the coreboot mailing list