Re: A86: Newbie Loop Question


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

Re: A86: Newbie Loop Question




In a message dated 9/27/98 19:14:07 Eastern Daylight Time, dvanee@dowco.com
writes:

> #include "asm86.h"
>  #include "ti86asm.inc"
>  
>  .org _asm_exec_ram
>  
>  	call _clrLCD
>  	ld hl, $FC00
>  	ld a, %10101010
>  	ld b, 5
>  loop:	ld (hl), a
>  	inc l
>  	xor %11111111
>  	djnz loop

	ret			;exit once the loop ends.

>  
>  .end
>  .end