t10if.ssm 176 Bytes
Newer Older
atzedijkstra@gmail.com's avatar
initial  
atzedijkstra@gmail.com committed
1
	BRA	Main
DoIf:	LINK	1
	LDL	-2
	LDC	2
	MOD
	LDC	0
	ne
	brt	Then
	LDC	0
	STL	1
	BRA	IfEnd
Then:	LDC	1
	STL	1
IfEnd:	UNLINK
	STS	-1
	RET
Main:	LDC	10
	BSR	DoIf
	LDC	11
	BSR	DoIf