Skip to contentSkip to conversation

asm statement in C

DISCUSSION peter 1 participant 1 message Feb 17, 2003

lore
Share & tools
lore

peter

author
#0 lore raw

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