1 # gas comment with ``gnu'' style quotes
3 /* some directive tests */
13 /* .align 16, 0x90 gas is too clever for us with 0x90 fill */
14 .align 16, 0x91 /* 0x91 tests the non-clever behaviour */
17 .string "hello\0world"
19 /* some label tests */
32 /* instruction tests */
42 movb $2, 0x100(%ebx,%edx,2)
43 movw $2, 0x100(%ebx,%edx,2)
44 movl $2, 0x100(%ebx,%edx,2)
45 movl %eax, 0x100(%ebx,%edx,2)
46 movl 0x100(%ebx,%edx,2), %edx
47 movw %ax, 0x100(%ebx,%edx,2)
54 mov $0x1122334455,%rbx
55 movq $0x1122334455,%rbx
56 movl $0x11334455,(%rbx)
59 mov %eax, 0x12(,%edx,2)
141 /* NOTE: gas is bugged here, so size must be added */
146 leal 0x1000(%ebx), %ecx
147 lea 0x1000(%ebx), %ecx
178 addl $0x123, 0x100(%ebx)
179 addl $0x123, 0x100(%ebx,%edx,2)
180 addl $0x123, 0x100(%esp)
181 addl $0x123, (3*8)(%esp)
229 imul $0x1100000, %eax
269 lcall $0x100, $0x1000
493 cmpxchgl %eax, 0x1000
571 /* XXX: handle prefixes */
592 /* handle one-line prefix + ops */
695 #ifdef __ASSEMBLER__ // should be defined, for S files
699 ft1: ft2: ft3: ft4: ft5: ft6: ft7: ft8: ft9: