delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/17:15:38

Message-ID: <3517E197.41D1@bergen.mail.telia.com>
Date: Tue, 24 Mar 1998 17:38:47 +0100
From: John Kismul <john DOT kismul AT bergen DOT mail DOT telia DOT com>
Reply-To: john DOT kismul AT bergen DOT mail DOT telia DOT com
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Calling functions from within an '__asm__(" ")' statement
NNTP-Posting-Host: t3o204p26.telia.com
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Can anyone here tell me how I call a function from inside a asm
statement.

Like:

__asm__("


call hello1(34) I know this won't work
call hello2 but this will.
"
);

So how do I call a function and pass any parameters to it?

- Raw text -


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