DJGPP's inline assembly proplem
Hi,
Yes you can,
It''s something like this, but i can tell you you''re better trying to find a doc on At&t ASM ... !!
Hapy Coding
LowRad
Yes you can,
void Function (int nb){asm {"pushw %%ax \nmovw %0, %%ax \npopw %%ax \n":: a(nb) :}
It''s something like this, but i can tell you you''re better trying to find a doc on At&t ASM ... !!
Hapy Coding
LowRad
You might want to check this out: http://www.rt.e-technik.tu-darmstadt.de/~georg/djgpp/djgpp_asm.html
Martee
Magnum Games
Martee
Magnum Games
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
it''s also possible to link a file to your projects. all you need to do is compile the asm source file (with tasm, masm, nasm, whatever) into a .obj file, then create a make file for djgpp. then just run the make file and it''ll take care of the rest. djgpp is really wierd for doing asm. this method is helpfull if you know asm and don''t want to re-learn it.
JoeMont001@aol.com www.polarisoft.n3.net
JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement