10.7.5. C code

The C entry point is called C_Entry(), not main(), to prevent the semihosted ANSI C libraries being pulled in during the link step, because the Embedded C libraries are being used here instead.

The Embedded C libraries do not contain printf(), so here Angel SWIs together with sprintf() are used to display text onto the console.

This mechanism is portable across ARMulator, Angel, EmbeddedICE, and Multi-ICE.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D