cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/11/02:50:13

Date: Mon, 11 Jan 1999 09:47:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Roberto <dante AT ctonline DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Routine in file Obj
In-Reply-To: <3698E52B.9A844347@ctonline.it>
Message-ID: <Pine.SUN.3.91.990111094546.3893E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 10 Jan 1999, Roberto wrote:

> I writed some funtions in Assembler and i got the OBJ file. How do i
> call this functions through DJGPP ? I use Rhide.

Like you call any other C function.

Note that the C compiler prepends an underscore `_' to each C symbol, so 
an assembly function _func is referenced as func from C.

In other words, you must make sure all your assembly functions' names 
begin with at least one underscore.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019