summaryrefslogtreecommitdiff
path: root/input/there-and-back-again.asm
blob: 73bd1171163ca2497b9fe74b99bc54ef726d6744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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