Re: A86: new at this
[Prev][Next][Index][Thread]
Re: A86: new at this
In a message dated 7/14/98 16:39:18, Jeanne9005@aol.com writes:
>
>im new at this, so if any1 can help me....how do i do a prompt in
>asm....either that or how do i have the user input a number say for
"money"???
try this:
#include "ti86asm.inc"
#include "asm86.h"
_asap_ind .equ $0000
;whatever the call for _asap_ind is, i don't remember offhand...
call _clrScrn
call _homeup
ld hl,money
call _puts
ld a,$0a
ld (_asap_ind),a
call _exec_pg3
ret
money:
.db "money?",0
after the _exec_pg3 command, the input will be in op1