[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-assembly
Subject: asm statement in C
From: peter <p.willis () telus ! net>
Date: 2003-02-17 3:51:22
[Download RAW message or body]
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
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic