mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
472a7c1d17
Allow constructs like: dd foo - $ ... where foo is an external symbol. Currently this is only implemented for extops, i.e. dx opcodes. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
12 lines
151 B
NASM
12 lines
151 B
NASM
bits 64
|
|
|
|
mov eax,1
|
|
mov eax,-1
|
|
mov eax,0x11111111
|
|
mov ecx,2
|
|
add ecx,-6
|
|
add ecx,strict dword -6
|
|
add ecx,4
|
|
add ecx,strict dword 4
|
|
add ecx,10000
|