diff options
Diffstat (limited to 'input/there-and-back-again.asm')
-rw-r--r-- | input/there-and-back-again.asm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/input/there-and-back-again.asm b/input/there-and-back-again.asm new file mode 100644 index 0000000..73bd117 --- /dev/null +++ b/input/there-and-back-again.asm @@ -0,0 +1,16 @@ +;;;;;;;; +;;; tests subroutine calls using the JAL function + +.data +.text +MAIN: + jal PUSHER + pop $5 + quot $0 $0 $0 +PUSHER: + push $2 + ret + nop + nop + nop + nop |