|
From: Nicholas N. <nj...@cs...> - 2005-06-04 04:02:57
|
On Fri, 3 Jun 2005, Jeremy Fitzhardinge wrote: > I generally find embedding assember into .c files is harder to maintain, > mostly because the syntax is so awkward. It's particularly tricky to > use preprocessor macros for constants in embedded asm statements, > because you need to get them into string form so they can be > concatenated with the asm string properly (for naked asms, you can't use > parameter substitution like you can for asms within C functions). I agree with this. Anything bigger than a few lines I prefer to see in a separate .S file. N |