From owner-freebsd-small Sun Feb 25 16:13:32 2001 Delivered-To: freebsd-small@freebsd.org Received: from nwlynx.network-lynx.net (nwlynx.network-lynx.net [63.122.185.99]) by hub.freebsd.org (Postfix) with ESMTP id 9F84237B491 for ; Sun, 25 Feb 2001 16:13:30 -0800 (PST) (envelope-from Don@Silver-Lynx.com) Received: from Silver-Lynx.com (doze-1.network-lynx.net [63.122.185.106]) by nwlynx.network-lynx.net (8.11.1/8.9.3/Who.Cares) with ESMTP id f1Q0EAH19292 for ; Sun, 25 Feb 2001 17:14:10 -0700 (MST) (envelope-from Don@Silver-Lynx.com) Message-ID: <3A999FAA.D1675624@Silver-Lynx.com> Date: Sun, 25 Feb 2001 17:13:30 -0700 From: Don Wilde X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: asm interface Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to link some asm routines I've converted from DOS/intel format. Machine is running 4.2-S, compiler gcc.2.95, and the routines are for accessing an MCSI PromDisk 32M flash. My problem is in my lack of knowledge of gnu tools, I'm sure. I have it successfully linking into a binary, and when I run it in gdb, I can see the disassembled c code calling the location, and I see the proper assembled code at that called location, but I get a SIGBUS immediately upon stepping to that call. I've HTMLified my code on http://www.silver-lynx.com/flash/flash.html and derivatives. I know it's probably a really simple oh-sh*t, but can anybody tell me what's wrong? Thanks! -- Don Wilde Don@Silver-Lynx.com Silver Lynx Embedded Microsystems Architects 2218 Southern Bl. Ste. 12 Rio Rancho, NM 87124 505-891-4175 FAX 891-4185 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message