* asm statement in C
@ 2003-02-17 4:04 peter
0 siblings, 0 replies; only message in thread
From: peter @ 2003-02-17 4:04 UTC (permalink / raw)
To: linux-assembly
Hello,
I would like to pass a string pointer from a C string
to an asm(); block.
ie:
function()
{
static char buff[]={"this is some text\n"};
asm(
"pushl mytext
//morecode...
"
:
:
);
}
Anyone know what format the parameter section by the second colon
should be in porder to pass 'buff'.
Thanks for any help.
Peter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-17 4:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-17 4:04 asm statement in C peter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).