- Romcc
Romcc is a
C compiler which generates code which uses onlyprocessor register s to store variables, instead of RAM. It was designed to aid withRAM initialization inside theBIOS . Before the RAM has been initialized there is no RAM available for use, and so therefore romcc code uses only the registers. GCC would not be suitable for writing code like this as it requires a stack, which clearly would have to be contained in RAM.All functions compiled by romcc will be inlined, which leads to all code being roughly 3x larger than hand-coded assembly.
See also
*
coreboot External links
* [http://coreboot.org/pipermail/coreboot/2003-November/005788.html RomCC: post to the coreboot mailing list, November 2003]
Wikimedia Foundation. 2010.