Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/23/10 23:48
Read: times


 
#174452 - You're right
Responding to: ???'s previous message
Okay,
.
.
.
MOV R1, #LOW(PortC_Out) ; Page reg set at 7F

MAIN:
(2) MOV A, #00010000b ; Set PortC[4]
(2) MOVX @R1, A
(1) CLR A
(2) MOVX @R1, A
(3) JMP MAIN

= 10 instruction cycles

10 instructions cycles X 4 clock cycles/instruction cycle = 40 clocks; but the AN2131 runs at double the clock speed internally.

Thank you for your help!

Steve


List of 4 messages in thread
TopicAuthorDate
Port toggle rate question            01/01/70 00:00      
   instructions take n "instruction cycles" not just one            01/01/70 00:00      
   8052.com timing tutorial            01/01/70 00:00      
      You're right            01/01/70 00:00      

Back to Subject List