shithub: riscv

ref: 2e05af858ec745ffc174e503148ef7928f697c22
dir: /sys/src/ape/lib/ap/68020/tas.s/

View raw version
TEXT	tas(SB), $0

	MOVL	$0, R0
	MOVL	a+0(FP), A0
	TAS	(A0)
	BEQ	tas_1
	MOVL	$1, R0
tas_1:
	RTS