pic Jul. 2016 | Page 87
sub _stackptr, #1
mov _primary, #3
mov aa_
, _primary
mov _primary, #5
mov bb_
, _primary
mov _primary, aa_
call _push_
mov _primary, bb_
call _pop_
call _mul_
mov cc_
, _primary
mov _primary, #0
add _primary, _stackptr
call _push_
mov _primary, cc_
call _push_
mov _primary, #1
call _pop_
add _primary, _secondary
call _pop_
call _putstk_
mov _primary, #0
add _primary, _stackptr
call _indr_
call _push_
;;(# args passed) mov W, #1
call myfunc_
add _stackptr, #1
mov dd_
, _primary
_1_
add _stackptr, #1
ret
; Begin Function
myfunc_
sub _stackptr, #1
mov _primary, #0
add _primary, _stackptr
call _push_
mov _primary, #2
add _primary, _stackptr
call _indr_
call _push_
mov _primary, #4
call _pop_
add _primary, _secondary
call _pop_
call _putstk_
mov _primary, #0
add _primary, _stackptr
call _indr_
jmp _2_
_2_
add _stackptr, #1
ret
85