__asm in linux?
I''m building a math library and for a few things have used assembler. This library is to be cross platform so how do I (in general) get this to compile under say gcc (thats the most popular linux compiler isn''t it?)? Does gcc use __asm {} to denote a asm block? IT the syntax in this block the same? Should I abandon asm for cross playform code?
Many thanks
Chris Brodie
I know I''m gonna get flamed for this, but....inline assembly in GCC is horrible. Have fun dealing with ''input'', ''output'', and ''modified'' fields. Anyway, the syntax is....
I would recommend you check out some docs such as these.
Martee
Magnum Games.NET
All your code are belong to us.
|
I would recommend you check out some docs such as these.
Martee
Magnum Games.NET
All your code are belong to us.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement