Click to See Complete Forum and Search --> : Assembly Code in C


Atrus
06-30-2001, 02:33 PM
Everytime I use asm{} to include assembly code in the C programes I get a
parse error. I am compiling with GCC in cygwin if anyone could help that
would be great.

The exact code i am using is:

void main()
{

}

Atrus
06-30-2001, 02:35 PM
The exact code i am using is:

void main()
{
asm{
mov ah, 0
mov al, 0x13
int 0x10
}
}