??? 10/24/05 12:20 Read: times |
#102819 - some things can not be done in C Responding to: ???'s previous message |
I will suggest write the code in C only
some things can not be done in C. e.g. a release independent delay routine can not be wqritten in C. ANY C compiler may change the actual implementation of a C statement as long as the outcome is the same. E.g. if the compiler changes the implementation of "for ( ...; a>2345; ...)" from a subtract to a cjne the timing will change but no C rule has been violated. as to the original question: Write a "skeleton" routine in C and use the genberated assembler as a templete. Erik |
Topic | Author | Date |
passing parameters from c to assembly | 01/01/70 00:00 | |
RTFM | 01/01/70 00:00 | |
What Compiler? They are all differerent | 01/01/70 00:00 | |
Why assembly??? | 01/01/70 00:00 | |
some things can not be done in C | 01/01/70 00:00 | |
Yes you can... | 01/01/70 00:00 | |
Not true | 01/01/70 00:00 | |
eliminated | 01/01/70 00:00 | |
bull! | 01/01/70 00:00 | |
delay in C, yes ! | 01/01/70 00:00 | |
More on 'C' delay loops... | 01/01/70 00:00 | |
sure, when you use a timer | 01/01/70 00:00 | |
Total Malund! | 01/01/70 00:00 | |
dear Russell re "bull" | 01/01/70 00:00 | |
Malund Bull... | 01/01/70 00:00 | |
Public variable | 01/01/70 00:00 | |
Examples...![]() | 01/01/70 00:00 |