This may just be an issue with gcc, or more likely the author of this email ;)
Has anyone tried in-line assembler code?
Something like:
asm{
; some assembler code
}
doesn't compile for me. I've also tried _asm, and __asm, but get a parse error on the opening brace in all cases.
Why would I want to do ANY assembler code? I'm writing a random number generator port that uses 64-bit registers, so that it will give better results than the standard stuff.
Thanks for any help,
-AngleWyrm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This may just be an issue with gcc, or more likely the author of this email ;)
Has anyone tried in-line assembler code?
Something like:
asm{
; some assembler code
}
doesn't compile for me. I've also tried _asm, and __asm, but get a parse error on the opening brace in all cases.
Why would I want to do ANY assembler code? I'm writing a random number generator port that uses 64-bit registers, so that it will give better results than the standard stuff.
Thanks for any help,
-AngleWyrm
All I know about this is that gcc uses AT&T's syntax instead of Intel's.
rpeter
I've got some experience with it :-)))
it's
__asm
(
some code with AT&T syntax
);