... temporary (z2) tsx ldd #1000 std _x1 ;x1=1000 std _x2 ;x2=1000 ldd _x3 std 2, x ;z3=x3 ldd _x2 std 0,x ;z2=x2 ldd _x1 ;RegD=x1 jsr _add3 tsx std 4,x ;y=x1+x2+x3 pulx ... ldd 2, x addd 6,x addd 8,x std -2, x ldd -2, x tfr x,s pulx leas 2, sp rts ; y -> -2, x _main:: pshx tfr s,x leas -8,sp movw #1000,_x1 movw #1000,_x2 movw _x3 ,2, sp ... stack frame ldd 2, x ;RegD=z1 addd 6,x ;RegD=z1+z2 addd 8,x ;RegD=z1+z2+z3 std 0,x ;y=z1+z2+z3 pulx ;deallocate y Page 9 of 14Chapter 10: Functions Valvano6/13 /20 02 http://www.ece.utexas.edu/~valvano/embed/chap10/chap10.htm...