4.1. The hello world example

This example shows you how to write, compile, link, and execute a simple C program that prints Hello World and a carriage return on the screen. The code is created using a text editor, compiled and linked using armcc, and run using armsd. This section also provides a brief introduction to armsd. More information is given in armsd.

Figure 4.1. Compiling and linking C

Compiling and linking C
Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential