mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
- Significantly overhauled the disassembler internals to make better use of the information already in the instruction template and to reduce the implementation differences with the assembler - Add APX support to the disassembler - Fix problem with disassembler truncating addresses of jumps - Fix generation of invalid EAs in 16-bit mode - Fix array overrun for types in a few modules - Fix invalid ND flag on near JMP Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
25 lines
307 B
NASM
25 lines
307 B
NASM
bits 64
|
|
_start:
|
|
es add eax,eax
|
|
add eax,[rdx]
|
|
add eax,[fs:rdx]
|
|
fs add eax,[rdx]
|
|
movzx eax,word [fs:rdx]
|
|
jz foo
|
|
ds jz foo
|
|
jmp bar
|
|
db 0x48
|
|
jmp bar
|
|
cs jmp bar
|
|
jmp strict near bar
|
|
cs jmp strict near bar
|
|
mov eax,[r15]
|
|
mov eax,[r31]
|
|
mov rax,[rdx]
|
|
mov rax,[r15]
|
|
mov rax,[r31]
|
|
foo:
|
|
hlt
|
|
bar:
|
|
udb
|