Re: A82: HALT command


[Prev][Next][Index][Thread]

Re: A82: HALT command



At 10:41 AM 8/31/97 -0600, you wrote:
>What does the HALT command do and why would I want to use it?
>

The halt command simply halts operation until an interrupt occurs (200
times a second) It can be used to make more acurate timing/delay loops. For
example, to pause for approximately a second you could do this:

 ld	b,200
DelayLoop:
 halt
 djnz	DelayLoop

	-Andrew


References: