I think i found a Bug in NASM.
The NASM version is 2.09.10 compiled on Oct 17 2011.
It would be nice if someone could see if this bug is still present in a newer version of NASM.
The code thet should create an error is this:
Code: Select all
cpu 8086
bits 16
segment .text progbits alloc exec nowrite align=1
;== Code =======================================================================
segment .text
mov ax, fs
nasm -f elf -o Test.o -l Test_nasm.info Test.asm
The thing is that the FS register does not exist in the Intel 8086 CPU, or am i wrong?
Cheers, Alex