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