English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

By delay, I mean I won't be doing anything while I wait. I need the delay to be able to count small delays of a few milliseconds accurately. IF at all possible it would be great to have the code compatible with the old 8088 and 8086 machines. Some example code (in assembly) as to how it works would be great. Thanks for everyone's help.

2007-01-12 23:41:53 · 1 answers · asked by Bridgeofstraws 2 in Computers & Internet Programming & Design

1 answers

i dont know how to do it for the 8088 or 8086, but basically set up a timer interrupt for say 10 times the delay you want. then set a bit to turn it on, and wait for the bit to clear. in the timer have a counter that counts to 10. when it reaches 10, clear the bit.

2007-01-13 00:40:22 · answer #1 · answered by justme 7 · 0 0

fedest.com, questions and answers