??? 11/04/08 23:17 Read: times |
#159673 - asm *functions* embedded in C-majority source file Responding to: ???'s previous message |
Jan Waclawek said:
I still haven't heard a single argument aginst asm *functions* embedded in C-majority source file As I said earlier, the big problem is in thinking you can just drop odd assembler lines into 'C' code. In principle, making proper assembler functions that just happen to be within an otherwise 'C' source file should be fine. In practice, with the Keil implementation, I've given the reasons why this is not actually a good idea. In general, I think the assembler facilities available inline within a 'C' source file tend to be less capable - sometimes a lot less capable - than the corresponding "dedicated" assembler...? |