Re: A86: Help w/ basic input/output in 86 Assembly


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

Re: A86: Help w/ basic input/output in 86 Assembly




Well here's a simple output prog

------------------------------------------------------------------------------
---------------------------------------------

org. asm_exec_ram

 call _clrLCD       ;clear screen just like the basic one
 jp start              ; jump to label start
                         ;remember not to indent labels
Start:
 ld hl,whee         ;I think this points to where the string is
 call _puts          ; puts it on the screen

whee:
.db "Whee!",0            ;dont forget the zero!

------------------------------------------------------------------------------
---------------------------------------------

I suppose it was a bit too simple but I dont have that much time

-ethereal-