SPIN Timing Question
Humanoido
Posts: 5,770
The clock cycles are 368 to perform 2 spin instructions.
So it takes 368/2=184 clock cycles per instruction.
The crystal is 6.25 MHz operating at 100 Mhz.
What is the instructions per second?
So 100,000,000 cycles per second clock,
100,000,000/184 = 543,478 instructions per second
Is this correct?
Thank you for your reply.
Humanoido
So it takes 368/2=184 clock cycles per instruction.
The crystal is 6.25 MHz operating at 100 Mhz.
What is the instructions per second?
So 100,000,000 cycles per second clock,
100,000,000/184 = 543,478 instructions per second
Is this correct?
Thank you for your reply.
Humanoido
Comments
You can't generalize SPIN timing this way. FWIW, I just clocked ?result with 864 cycles. You'll have to admit that this doesn't really fit into your scheme
Assuming your way of measuring is OK I don't see why not. What statement are you using and how do you measure it?