shithub: riscv

ref: 7b12e8084afea8f31ab63ac1e13a5c40932f1215
dir: /sys/src/libc/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