??? 05/22/04 22:33 Read: times |
#70969 - simple arithmetic Responding to: ???'s previous message |
You simply need to look up the number of cycles taken by each instruction, count them up, and multiply by the number of iterations for each loop.
As has already been mentioned, a spreadsheet (eg, MS Excel) could do this for you well. The 8051 Programmer'S Guide and Instruction Set Manual gives you the number of cycles taken by each instruction on an original 8051; you will have to check for any differences in the Data Sheet for your particular variant... |
Topic | Author | Date |
Delay Calculations in 8051 uC | 01/01/70 00:00 | |
RE: Delay Calculations in 8051 uC | 01/01/70 00:00 | |
RE: Delay Calculations in 8051 uC | 01/01/70 00:00 | |
RE: Delay Calculations in 8051 uC | 01/01/70 00:00 | |
simple arithmetic | 01/01/70 00:00 | |
RE: Delay Calculations in 8051 uC![]() | 01/01/70 00:00 | |
RE: Delay Calculations in 8051 uC | 01/01/70 00:00 |