aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/SystemZ/insn-sth-02.s
blob: e73c28917b0aa8293bbf6120b0656c8b64666989 (plain)
1
2
3
4
5
6
7
8
9
10
# RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
# RUN: FileCheck < %t %s

#CHECK: error: invalid operand
#CHECK: sth	%r0, -1
#CHECK: error: invalid operand
#CHECK: sth	%r0, 4096

	sth	%r0, -1
	sth	%r0, 4096