When I try to use asm it says parse error before then the first word or symbol after asm. I tried typing asm for every line of assembler, I tried the asm{
blah
blah
}
it said the same thing.
HELP!
PS: I am using Dev-C++ 4.01
When I try to use asm it says parse error before then the first word or symbol after asm. I tried typing asm for every line of assembler, I tried the asm{
blah
blah
}
it said the same thing.
HELP!
PS: I am using Dev-C++ 4.01
I'm not too familiar with the Dev-C++ compiler, but try other keywords like _asm, __asm, and _asm_ instead.
It always says undefined symbol when I try it.
Also, I am the same unregistered that made that post about using sprites. I'm going to go as frenchfry164 from now on.
I tried doing __asm. It came up with the same error.
often with mingw32 (i believe that is also the compiler in DEV-C++) i get parse error just below the actual error (like a missing semicolon or parenthesis or something)
I wonder why this is happening. Does anyone else use DJGPP? Does it come up with the same error?
Great!! Just when I get used to Intel's backward format, DJGPP goes and changes the order on me.
Why not just put your ASM functions into a separate file, use MASM (free) to make an .OBJ, and link that with the rest? It's probably much easier than trying to remember which variable goes first when =]
I guess I'll have to read that a trillion times and try to understand it.
With GCC and such you would have to use NASM because MASM doesn't output the correct object format.
// Gliptic