A89: A simple? Question
[Prev][Next][Index][Thread]
A89: A simple? Question
Hello, can someone tell me what is wrong with this :( It doesn't want to
compile :( I am doing it with PlusShell stuff.
Also, why do you load 4 on the stack at first?
-Ahmed
include "tios.h"
include "util.h"
xdef _main
xdef _comment
xdef _ti89
_main:
jsr util::clr_scr
move.w #4,-(a7)
lea string(pc),a0
move.l a0,-(a7)
move.w #0,-(a7)
move.w #0,-(a7)
jsr tios::DrawStrXY
add.l #10,(a7)
jrs util::idle_loop ;this line doesn't compile
rts
_string:
dc.b "Ahmed El-Helw",0
_comment:
dc.b "Ahmed's First Program in 68k",0
end
Ahmed El-Helw <ahmed@ticalc.org>
Program Ideas, Upcoming Programs
the ticalc.org project - http://www.ticalc.org/
_____________________________
http://hail.icestorm.net/asm
ICQ : 3350394
Follow-Ups: