Re: A86: More Using Table


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

Re: A86: More Using Table




In a message dated 16/12/98 12:23:42 Pacific Standard Time, Bowser797@aol.com
writes:

> #include "ti86asm.inc"
>  #include asm86.h
>  #include ti86und.inc
>  
>  .org _asm_exec_ram
>  
>  	call _clrLCD
>  	ld a,2
>  	add a,a
>  	ld e,a
>  	ld d,0
>  	ld hl, table
>  	add hl,de
>  	call _ldhlind
>  	call _puts
Try putting a ret here.


>  
>  table:
>  	.dw one,two,three
>  
>  one:
>  	"one",0
>  two:
>  	"two",0
>  three:
>  	"three",0
>  
>  .end