www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/16/19:36:21

Xref: news2.mv.net comp.os.msdos.djgpp:5048
From: brucef AT central DOT co DOT nz (Bruce Foley)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help new user with linking problems...
Date: Sun, 16 Jun 1996 03:28:42 GMT
Organization: Internet Company of New Zealand
Lines: 28
Message-ID: <4q02cb$280@status.gen.nz>
References: <4pvael$dic AT status DOT gen DOT nz>
NNTP-Posting-Host: brucef.central.co.nz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I found the problem, so please ignore my request
(if you wern't going to already).

I assumed the statement:
..global <_function_name>

declared the label as global and defined it.  Actually, it only
declared it. The code assembled fine, though I assume that
if I had tried to jump back to the label, I would have 
realised my mistake.

I needed to do this:
..global <_function_name>
_function_name:
....<at&t style code>
ret

(Jez, I hate it when that happens)

Bruce.








- Raw text -


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