S
Serpent
I have a few old routines written in Intel ASM; years ago they were
used inline a C-program. Now I find that to use inline-assembler with
GCC I have to use AT&T ASM. I figured the easiest solution would be to
simply put all the assembler in its own clean file, build that, and
link it to the C (from whence I'd be able to call the ASM routines). I
hope I'm not imaginatively expanding on the concept of linked object
files. It seems I >should< be able to call the assembler from the C.
How? Any decent resources on the topic?
Thanks!
- Elliot
used inline a C-program. Now I find that to use inline-assembler with
GCC I have to use AT&T ASM. I figured the easiest solution would be to
simply put all the assembler in its own clean file, build that, and
link it to the C (from whence I'd be able to call the ASM routines). I
hope I'm not imaginatively expanding on the concept of linked object
files. It seems I >should< be able to call the assembler from the C.
How? Any decent resources on the topic?
Thanks!
- Elliot