Embedding ASM

Hi.
I was learning x86 (I love it) amd I know that you are able to embed it in C and Pascal. How can you do it in C++?
Thanks.
Last edited on
I believe it depends on the compiler. GCC, for example, uses the AT&T syntax, but other compilers might use the Intel syntax.
http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html#s4
Last edited on
Thanks.
The ASM is fun, I never realised it was so easy to learn. Implementing it is more difficult, though.
Topic archived. No new replies allowed.