| ??? 05/23/09 22:15 Read: times |
#165561 - to asm or not to asm Responding to: ???'s previous message |
Andy said:
I said:
I was told, asm in Keil is not accepted very well... Hopefully, you just misunderstood - I hope nobody actually said that! Keil has a perfectly good assembler, and Keil C51 is perfectly able to call assembler functions. The problem comes with embedding snippets of assembler source within a 'C' source file - so-called "inline" assembler. Yes, that's the exact wording indeed, and I even remember your explanation why is is so - but it still sounds to me like a limitation. It's not exactly the case here, but one of the reasons to resort to asm is to gain speed - and if using asm involves calling a function, it sort of defeats what's gained. JW |
| Topic | Author | Date |
| MSC1210 FlashCode Memory write problems | 01/01/70 00:00 | |
| watchdog, interrupts? | 01/01/70 00:00 | |
| MSC1210 FlashCode Memory write problems | 01/01/70 00:00 | |
| I do not know your chip, but | 01/01/70 00:00 | |
| Over optimisation. | 01/01/70 00:00 | |
| case for asm | 01/01/70 00:00 | |
| asm in Keil is not accepted very well | 01/01/70 00:00 | |
| to asm or not to asm | 01/01/70 00:00 | |
| Horses for courses. | 01/01/70 00:00 | |
Not that it applies to THIS case ... but ... | 01/01/70 00:00 |



