News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can RC1 handle inline assembly yet?

Started by brandon8863, July 31, 2005, 06:59:46 PM

Previous topic - Next topic

tiwag

Quote from: grv575 on August 08, 2005, 07:50:10 AM
FWIW, the following compiles under CB set to VC++ toolkit:

Hi grv

using the [code ] somecode [/code ]  tags it looks better !

#include <iostream>

int main()
{
    int a;
    __asm
    {
        xor eax,eax
        mov a, 5
    }
    printf("%d\n", a);
        return 0;
}