Add x86-64-opcode (checks valid opcodes) and x86-64-inval (checks invalid opcodes...
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-inval.s
1 .text
2 # All the following should be illegal for x86-64
3 calll *%eax # 32-bit data size not allowed
4 calll *(%ax) # 32-bit data size not allowed
5 calll *(%eax) # 32-bit data size not allowed
6 calll *(%r8) # 32-bit data size not allowed
7 calll *(%rax) # 32-bit data size not allowed
8 callq *(%ax) # 32-bit data size not allowed
9 callw *(%ax) # no 16-bit addressing
10 foo: jcxz foo # No prefix exists to select CX as a counter
11 popl %eax # can't have 32-bit stack operands
12 pushl %eax # can't have 32-bit stack operands
13 pushfl # can't have 32-bit stack operands
14 popfl # can't have 32-bit stack operands
This page took 0.040641 seconds and 4 git commands to generate.