Page 1 of 1

Ada + ASM

Posted: Sun Apr 24, 2011 9:03 pm
by Bencz
Hi!! :)

I've searched the internet but found, like mixing with Ada Assembly, I know it's possible to do this with C or C++, but found nothing about assembly, if someone knows, can show how?

Thanks

Re: Ada + ASM

Posted: Sun Apr 24, 2011 9:40 pm
by TylerH
If you can mix Ada with C, just define your asm symbols as if they were C symbols(ie add a "_") and there will be no difference between the object produced by the assembler and one that would've been produced by a C compiler.

Re: Ada + ASM

Posted: Sun Apr 24, 2011 10:32 pm
by Bencz
Hi

Sorry, but you could show an example?

Re: Ada + ASM

Posted: Sun Apr 24, 2011 11:00 pm
by TylerH
How do you define a symbol with the assembler you use?

Re: Ada + ASM

Posted: Sun Apr 24, 2011 11:18 pm
by Bencz
Oh, thanks, Now I get it to work. :)