| ??? 04/07/03 18:36 Read: times |
#43031 - RE: Instuction Cycle in C Responding to: ???'s previous message |
Best way for this is to make the delay routine in assembly language and then link that to C. It is not predictable to make it in C becasue the C compiler can optimize the code in different ways and end up making the delay different.
You can look at the delay generator on my 8052.com web page to see how to create a simple delay routine in assembly language that is easily linked to and called from C. See the delay generator here: Michael Karas |
| Topic | Author | Date |
| Instuction Cycle in C | 01/01/70 00:00 | |
| RE: Instuction Cycle in C | 01/01/70 00:00 | |
| RE: Instuction Cycle in C | 01/01/70 00:00 | |
RE: Instuction Cycle in C | 01/01/70 00:00 |



