Skip to contentSkip to conversation

c with assembly

DISCUSSION n mishra 1 participant 1 message Jan 13, 2003

lore
Share & tools
lore

n mishra

author
#0 lore raw

Hi all!
I'm having problems compiling a c file with assembly code embedded in it.How can I transfer control to a assembly language procedure from the c code?
Also:
In assembly how do you specify the entry point for the code i.e the equivalent of main in 'c'.I tried '.ENTER' using as86.I also tried the assembler directive END.Could someone please tell me it's exact syntax. Thanks in advance.
mishra.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs