MPASM Delay Macro

Member Submissions

Submitted by: Michael Seiy
Download Link: link src4.zip

This routine generates delays from 0 to 768 instruction cycles.

Features:
* 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:  piclist@tech-tools.com