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

main: ;* ----------------------------------------------------------------------------* SUB.W #2,SP ;** 5 ------------------------- printf((const unsigned char *)"Hello, world\n"); ;------------------------------------------------------------------------ ; 5 | printf ("Hello, world\n"); ;------------------------------------------------------------------------ MOV.W #$C$SL1+0,0(SP) ; |5| CALL #printf ; |5| ; |5| ;** 6 ------------------------- return 0; ;------------------------------------------------------------------------ ; 6 | return 0; ;------------------------------------------------------------------------ MOV.W #0,r12 ; |6| ADD.W #2,SP RET