HLT, the instruction, can sometime be useful. It is very easy to make timings with it: mov cx,18 hlt loop $-1This was a 1-second delay.
HLT
mov cx,18 hlt loop $-1