Ada + ASM

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Bencz
Member
Member
Posts: 27
Joined: Tue Nov 09, 2010 12:03 pm

Ada + ASM

Post 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
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: Ada + ASM

Post 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.
Bencz
Member
Member
Posts: 27
Joined: Tue Nov 09, 2010 12:03 pm

Re: Ada + ASM

Post by Bencz »

Hi

Sorry, but you could show an example?
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: Ada + ASM

Post by TylerH »

How do you define a symbol with the assembler you use?
Bencz
Member
Member
Posts: 27
Joined: Tue Nov 09, 2010 12:03 pm

Re: Ada + ASM

Post by Bencz »

Oh, thanks, Now I get it to work. :)
Post Reply