Example 2. The Function From Example 1 Compiled with the --opt_level=2, --optimizer_interlist, and --c_src_interlist Options

_main: STMFD SP!, {LR} ;** 5 ----------------------- printf("Hello, world\n"); ;------------------------------------------------------------------------------ ; 5 | printf("Hello, world\n"); ;------------------------------------------------------------------------------ ADR A1, SL1 BL _printf ;** 6 ----------------------- return 0; ;------------------------------------------------------------------------------ ; 6 | return 0; ;------------------------------------------------------------------------------ MOV A1, #0 LDMFD SP!, {PC}