Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 12:49:35 -0600
From:      "Andrew" <andrew@carroll-tech.net>
To:        <freebsd-hackers@freebsd.org>
Subject:   non-32bit-relocation
Message-ID:  <000f01c33cdc$db1da290$0201a8c0@win>

next in thread | raw e-mail | index | archive | help
Hello,
I hate to "interrupt" the current flow of messages but...got to.

I wrote a small assembly program to send a string to the floppy.
I'm not familiar with nasm, the assembly language compiler I'm using and
even
less familiar with the as program.

basically, other code aside, the nasm compiler says, when using -f elf, that
it does not support non-32-bit relocations.  Ok, I'm not an assembly expert
and less familiar with 'elf' so I need some help.

The instructions were

mov es, seg buffer
mov bx, [buffer]
int 13h.

Can anyone tell me how to do this on a FreeBSD machine?

Thanks.

Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c33cdc$db1da290$0201a8c0>