Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ebedding assembly language in a C function

Status
Not open for further replies.

brudnakm

Programmer
Jun 26, 2001
79
US
Is anyone aware of how to embed assembly language code in a C function for an SGI MIPS Pro compiler using -n32 complle flag? I know that such things are non-standard C, but was hoping someone out there has encountered and solved this problem before.

I am particularly interested in reading and writing the C call stack.

Thank you.
 
as I know there exists three assembly specificator:
asm borland specific
_asm borland/microsoft specific
__asm microsoft specific
maybe one of them is supportyed by your compiller. But that could be not always enough. For example borland turboc require tasm.exe for it. TurboC2.0 can compille such codes only in command line. John Fill
1c.bmp


ivfmd@mail.md
 
There are a lot information about it in SGI "InfoSearch" in help section (IRIX 6.5). Better look there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top