bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nasm problem?


From: [ B l u r B ]
Subject: nasm problem?
Date: Tue, 21 Jan 1997 00:53:35 -0300

hi... i have an asm source 16/32bit code mix... thus im using a.out file format when compiled with nasm -f aout and when I going to linkit to another c file all the call to the c files (ex: _main) are ok but there is something with the offset of the data..

16bit code from the asm source loads my gdt and the dissasembling of the binary flat linkage show that this gdt is in 0x200... later on I add more instructions to the asm file and the dissasembling show the same address.

I link this unique file with

ld b.o --stats --verbose --warn-common --warn-once -o test.bin -oformat binary -Ttext=0

and nasm -f aout b.asm...

if you find the bug.. or let me know what im doing wrong i would appreciate so much... sorry for my english..

thanks in advance.

Attachment: b.asm
Description: Text document

Attachment: GDT.INC
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]