# sh testcase for tas.b @$rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32

	.include "compact/testutils.inc"

	start

tasb1:
	mov #40, r0
	shll8 r0
	tas.b @r0
	bf wrong

tasb2:
	mov #40, r0
	shll8 r0
	tas.b @r0
	bt wrong

okay:
	pass

wrong:
	fail
