??? 05/22/04 15:04 Read: times |
#70952 - Delay Calculations in 8051 uC |
I want to calculate the values for registers R3,R2,R1 for the following delay routines when the required delay in Seconds are given.
No. of Cycles = req. delay(in sec)*(11059200/12) letus for 5 Sec delay, Total req. cycles = 4608000 Now how we can find the values of R3, R2, R1 from total required cycles for the given delay routines : MOV R3,#? MOV R2,#? MOV R1,#? TT: DJNZ R1,TT DJNZ R2,TT DJNZ R3,TT JMP $ |
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 |