MPASM Delay Macro

Member Submissions

Submitted by: Michael Seiy
Download Link: link

This routine generates delays from 0 to 768 instruction cycles.

* Uses no stack space.
* Creates minimum amount of code possible.
* Created code provides exact number of instruction cycle delays.
* Does not destroy contents of W, FSR, or PCLATH

¹Member submission to the TechTools Discussion List: