... 10 -4 : ICC 12 stack within the add3 function .area text _x3:: .word 1000 .area text ; y -& gt; -2 ,x ; z3 -& gt; 8,x ; z2 -& gt; 6,x ; z1 -& gt; 2, x _add3:: pshd pshx tfr s,x leas -2 ,sp ... ldd 2, x addd 6,x addd 8,x std -2 ,x ldd -2 ,x tfr x,s pulx leas 2, sp rts ; y -& gt; -2 ,x _main:: pshx tfr s,x leas -8 ,sp movw #1000,_x1 movw #1000,_x2 movw _x3 ,2, sp ... movw _x3 ,2, sp movw _x2,0,sp ldd _x1 jsr _add3 std -4 ,x tfr d,y sty -2 ,x tfr x,s pulx rts .area bss _x2: .blkb 2 _x1:: .blkb 2 Listing 10 - 11: ICC 12 assembly of function...