Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/ape/lib/ap/arm/tas.s
TEXT tas(SB), $-4 MOVW R0,R1 MOVW $1,R0 SWPW R0,(R1) RET