Clock cycles
Mike G
Posts: 2,702
Hi all,
Using this code snippet
If TOcounter started at 10_000 and ended at 4053. That would be 5947 loops. In clock cycles that would be
Test = 4
Jmp = 4
Djnz = 4, 8
Therefore, (4 + 4 + 8) * 5947 = 95,152 – 4 = 95,148 clock cycles, correct?
Using this code snippet
receive test axmask,ina wc 'C is set if odd parity after AND if_nc jmp #:getByte 'if C is set jump to receive djnz TOcounter, #receive … :getByte
If TOcounter started at 10_000 and ended at 4053. That would be 5947 loops. In clock cycles that would be
Test = 4
Jmp = 4
Djnz = 4, 8
Therefore, (4 + 4 + 8) * 5947 = 95,152 – 4 = 95,148 clock cycles, correct?
Comments