A83: prob. lame


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

A83: prob. lame




Probably a very lame question,
but I'm new to the ASM programming, only done some BASIC(pc and calc) and
VB before. Now I'm trying to learn ASM, but I'm kinda stuck.
The following code is compiled ok, but when I try to runt it on my calc
(ti-83). It just returns an "Err: Syntax".
What am I doing wrong? (note: I'm loading it through a "send(9prgmNAME" as
you'r supposed to).

[stripped #include etc.]

.org 9327h				
	call _clrLCDFULL
	set textInverse, (iy+textflags)
	ld hl,0000h
	ld (CURCOL),hl
	ld hl,str1
	call _vputs
	res textInverse, (iy+textflags)
	ld hl,0100
	ld (CURCOL),hl
	ld hl,str2
	call _puts
	ret
str1:
.db "Inverted Text.",0
str2:
.db "Normal Text.",0
.end
END


/jetthe


Follow-Ups: