Author Topic: Can RC1 handle inline assembly yet?  (Read 17590 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Can RC1 handle inline assembly yet?
« Reply #15 on: August 08, 2005, 08:55:51 am »
FWIW, the following compiles under CB set to VC++ toolkit:

Hi grv

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

Code
#include <iostream>

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