• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

inline asm

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Bmxpunk86pl

Member
Joined
Sep 7, 2001
Location
CT/Poland
I dont kno Im tryin to do some inline assembly and here is my code

#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>


int main(int argc, char *argv[])
{
asm{
mov eax, 25h
mov ebx, 23h
xor eax, ebx
}

return 0;
}

I
I get a error saying parse error before `{'



Thanks
 
You should probably look at the documentation for Dev C++. The style for doing inline asm varies from compiler to compiler.
 
Back