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

#CHECK: error: invalid operand
#CHECK: aghi	%r0, -32769
#CHECK: error: invalid operand
#CHECK: aghi	%r0, 32768
#CHECK: error: invalid operand
#CHECK: aghi	%r0, foo

	aghi	%r0, -32769
	aghi	%r0, 32768
	aghi	%r0, foo