Coder's Guild Mailing List

re: using in-line assembly.

Posted by Eugene Teo on 1999-05-07

>  I just started to learn C++ few days ago and i have a question:

cool.

>how i can use in-line assembly in Watcom C++ 10.0?

Why are you still using ver 10? get yourself Watcom C++ 11.0. 
Using _asm{} is so much easiler. really. it's like putting all your 
assembly codes into that _asm{} brace. #pragma aux directive 
requires you to learn something more. i haven't try to code with 
#pragma aux but i guess it is something like how AT&T asm like 
(inline for Djgpp)

>it won't understand _asm{} or asm{}
>in the help only described #pragma aux derective to insert assembly into
>the code.

>Also have someone MMX or 3dNow! macroses for Watcom C++ 10.0 or Tasm or
>Masm (don't tell me about Nasm, please!!)

why not Nasm? I think Nasm is a great assembler. anyhow, i don't know
how to answer the above question =)

>Thanx,

you are most welcome =)

Eugene