You Can Use C Symbols in Your Asm Statements; Turbo C++

Inline assembly automatically converts them to appropriate assembly

references to data language operands and appends underscores onto

and functions identifier names.

 

   Inline assembly  automatically converts them to appropriate assembly

references to data  language operands and appends underscores onto

     and functions  identifier names. You can use any symbol, including

——————  automatic (local) variables, register variables, and

                    function parameters.

 

                    In general, you can use a C symbol in any position

                    where an address operand would be legal. Of course, you

                    can use a register variable wherever a register would

                    be a legal operand.

 

                    If the assembler encounters an identifier while parsing

                    the operands of an inline assembly instruction, it

                    searches for the identifier in the C symbol table. The

                    names of the 80×86 registers are excluded from this

                    search. Either uppercase or lowercase forms of the

                    register names can be used.

nirvana
10.08.29

It is better if you can show your codes.

10.08.29

Great content..

Would you like to check my new blog which I created 3 months ago..

http://itsmeyourmentor.blogspot.com

comments powered by Disqus
Loading