Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>asm assembly language statement</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 asm                     Assembly Language Statement

 asm <opcode> <operands>

        The asm statement lets you include assembly language in your C++
        source file. C++ symbols are replaced by the correct assembly
        language equivalents. If you want to include more than one line of
        assembly language code, surround it in braces, as shown in the
        example below.

   -------------------------------- Example ---------------------------------

        This example pops the general purpose registers.

         asm
         {
            pop ax
            pop bx
            pop cx
            pop dx
         }



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson