t07swap2ints.ssm 235 Bytes
Newer Older
atzedijkstra@gmail.com's avatar
initial  
atzedijkstra@gmail.com committed
1
		BRA	main
Swap2Ints:	LINK	1
		LDL	-3
		LDA	0
		STL	1
		LDL	-2
		LDA	0
		LDL	-3
		STA	0
		LDL	-2
		LDL	1
		STA	0
		UNLINK
		STS	-2
		AJS	-1
		RET
main:		LINK	2
		LDC	4
		STL	1
		LDC	6
		STL	2
		LDLA	1
		LDLA	2
		BSR	Swap2Ints
		UNLINK