2010-01-06 Quentin Neill <quentin.neill@amd.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / m32r / wrongsize.s
1 ; Test error messages in instances where an insn of a particular size
2 ; is required.
3
4 ; { dg-do assemble { target m32r-*-* } }
5
6 wrongsize:
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.036222 seconds and 4 git commands to generate.