abdo375
- 131
- 0
I need to write a program that will create a constant time delay in x86 assembly, can anybody help?
This discussion focuses on implementing a constant time delay in x86 assembly language, specifically for initializing an LCD with a required delay of 200ms. Three main methods are identified: loop cycle counting, hardware clock byte fetch, and BIOS timer interrupts. The loop cycle counting method is highlighted as high resolution but CPU-dependent, while the BIOS timer interrupt is noted for its low resolution of approximately 18.7ms. The conversation emphasizes the challenges of achieving consistent timing on a non-real-time operating system like Windows and suggests exploring real-time operating systems for better timing accuracy.
PREREQUISITESAssembly language programmers, embedded systems developers, and anyone working on timing-critical applications in x86 architecture.
abdo375 said:actually I'm doing it on a PC.
abdo375 said:I need to write a program that will create a constant time delay in x86 assembly, can anybody help?