[Nasm-bugs] [Bug 3392453] nasm not compiling line 'call dword 0x0' correctly

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Mon Jan 1 19:49:02 PST 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392453

--- Comment #2 from H. Peter Anvin <hpa at zytor.com> ---
Should be:

echo 'call dword 0x0' > a.asm
nasm -f elf32 -o a.o a.asm
ld -m elf_i386 -Ttext=0 -e 0 -o a.elf a.o
objcopy -O binary a.elf a.bin
ndisasm -b 32 a.bin
00000000  E8FBFFFFFF        call 0x0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list