mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
2586cee21d
If the address we are using is >= the size of the instruction, then don't complain on overflow as we can wrap around the top and bottom of the address space just fine. Alternatively we could downgrade it to OUT_WRAP in that case. Reported-by: C. Masloch <pushbx@38.de> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
13 lines
153 B
NASM
13 lines
153 B
NASM
org 0
|
|
%ifndef SEEK
|
|
%define SEEK 0
|
|
%endif
|
|
times SEEK - ($ - $$) nop
|
|
jmp near init
|
|
|
|
%ifndef NUM
|
|
%define NUM 9956h
|
|
%endif
|
|
times NUM - ($ - $$) db 0
|
|
init:
|