??? 02/10/06 20:42 Read: times |
#109748 - what is not advisable Responding to: ???'s previous message |
I thought that the proper way is to write in C an the critical parts in asm;
what is not advisable is assembler coding in a C module Keil has a crummy way of handling this (convert the whole shebang to assembler and assemble it) which makes you loost all source debugging abilities and their optimizer ignores such modules as well. So, if you have critical code, by all means write it in assembler, but in a separate .a51 module, do not write it as inline C. Erik |
Topic | Author | Date |
P89V51 ISP | 01/01/70 00:00 | |
example in asm | 01/01/70 00:00 | |
must be in asm | 01/01/70 00:00 | |
C? | 01/01/70 00:00 | |
not advisable with Keil | 01/01/70 00:00 | |
now I got curious | 01/01/70 00:00 | |
what is not advisable | 01/01/70 00:00 | |
details? | 01/01/70 00:00 | |
pseudo-C | 01/01/70 00:00 | |
I hope not, that would be the ultimate r | 01/01/70 00:00 | |
the linker does not care if a module is | 01/01/70 00:00 | |
no stack | 01/01/70 00:00 | |
I do not know if that makes any sense | 01/01/70 00:00 | |
Thanks Jan - P89V51RDA2 IAP | 01/01/70 00:00 | |
yes, that is working | 01/01/70 00:00 | |
P89V51 IAP | 01/01/70 00:00 | |
examples![]() | 01/01/70 00:00 |