This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to generate 200nS delay using AT89S52 ic

I am doing ADC interfacing using AT89S52 IC and i need 200ns delay for one of my control signals. if it is possible then can you please suggest me the assembly code to generate 200ns delay...

Parents
  • Andy posted:

    Any instruction on any processor takes a finite length of time to execute.

    He did not ask you to post your code; everybody here already understands what you want to achieve!

    What you probably need to generate such a short delay is combine 2 facts:
    1. Any instruction has an execution penalty.
    2. You need an instruction that does not do anything at all but has a execution penalty.

    Do you know what it is?

Reply
  • Andy posted:

    Any instruction on any processor takes a finite length of time to execute.

    He did not ask you to post your code; everybody here already understands what you want to achieve!

    What you probably need to generate such a short delay is combine 2 facts:
    1. Any instruction has an execution penalty.
    2. You need an instruction that does not do anything at all but has a execution penalty.

    Do you know what it is?

Children