OLD | NEW |
| 1 BITS: 64 |
| 2 OUTCOME: invalid |
| 3 |
1 # Show an example of an invalid (implicit) reference to a segment register | 4 # Show an example of an invalid (implicit) reference to a segment register |
2 # (in this case missing a 32-bit zero extending operation before the LEA): | 5 # (in this case missing a 32-bit zero extending operation before the LEA): |
3 # | 6 # |
4 # lea %rdi, [%r15+%rdi*1] | 7 # lea %rdi, [%r15+%rdi*1] |
5 # stosd | 8 # stosd |
6 49 8d 3c 3f | 9 asm: lea (%r15,%rdi,1),%rdi |
7 ab | 10 hex: 49 8d 3c 3f |
| 11 |
| 12 asm: stos %eax,%es:(%rdi) |
| 13 hex: ab |
| 14 nc_out: ERROR: Segment memory reference not allowed |
| 15 |
OLD | NEW |