Commit | Line | Data |
---|---|---|
7e8b059b L |
1 | # MPX instructions |
2 | .allow_index_reg | |
3 | .text | |
4 | .extern xxx | |
5 | foo: | |
6 | bnd add %eax, %ebx # Bad | |
7 | bnd stosw (%edi) # Bad | |
8 | bnd lcall $0x1234,$xxx | |
9 | bnd ljmp $0x1234,$xxx | |
10 | bnd loop foo | |
11 | bnd jcxz foo | |
12 | ||
13 | .intel_syntax noprefix | |
14 | bnd add ebx, eax # Bad | |
15 | bnd stos WORD PTR[edi] # Bad | |
16 | bnd lcall 0x1234,xxx | |
17 | bnd ljmp 0x1234,xxx | |
18 | bnd loop foo | |
19 | bnd jcxz foo |