Add test of M32R seth instruction
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m32r / wrongsize.s
CommitLineData
93c6c015
DE
1; Test error messages in instances where an insn of a particular size
2; is required.
3
4; { dg-do assemble { target m32r-*-* } }
5
6wrongsize:
7 cmpi r8,#10 -> ldi r0,#8 ; { dg-error "not a 16 bit instruction" }
8 ldi r0,#8 -> cmpi r8,#10 ; { dg-error "not a 16 bit instruction" }
9 cmpi r8,#10 || ldi r0,#8 ; { dg-error "not a 16 bit instruction" }
10 ldi r0,#8 || cmpi r8,#10 ; { dg-error "not a 16 bit instruction" }
This page took 0.200542 seconds and 4 git commands to generate.