]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/mmix/err-byte2.s
Add MMIX support
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mmix / err-byte2.s
1 % { dg-do assemble { target mmix-*-* } }
2
3 m1 IS -1
4 zero IS 0
5 zero2 IS 0
6 1H IS 42
7 2H IS 5
8 Main SWYM 0,0,0
9 BYTE 0
10 BYTE -1 % { dg-error "BYTE expression not in the range 0..255" "" }
11 BYTE m1 % { dg-error "BYTE expression not in the range 0..255" "" }
12 BYTE zero2
13 BYTE 1B+2B+55
14 BYTE zero+m1 % { dg-error "BYTE expression not in the range 0..255" "" }
15 BYTE 255
16 BYTE 256 % { dg-error "BYTE expression not in the range 0..255" "" }
17 BYTE unk+1 % { dg-error "BYTE expression not a pure number" "" }