From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 11:28:22 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D2937B401 for ; Fri, 27 Jun 2003 11:28:22 -0700 (PDT) Received: from mail.totalspeed.com (mail.totalspeed.com [63.137.244.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B235A43F3F for ; Fri, 27 Jun 2003 11:28:21 -0700 (PDT) (envelope-from andrew@carroll-tech.net) Received: from win [63.211.246.164] by mail.totalspeed.com (SMTPD32-6.06) id ABFEBE90102; Fri, 27 Jun 2003 12:25:02 -0600 Message-ID: <000f01c33cdc$db1da290$0201a8c0@win> From: "Andrew" To: Date: Fri, 27 Jun 2003 12:49:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3718.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0 Subject: non-32bit-relocation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 18:28:22 -0000 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