Re: A86: run


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

Re: A86: run




Jimmy Mardell is back!!!!!!!   Yeeeaaaaahhhhhhh!!
______________
JBrett
tbarwick@esn.net
http://ww2.esn.net/~tbarwick
http://members.xoom.com/Plexus
http://wwp.mirabilis.com/20607010
ICQ# 20607010
-----Original Message-----
From: Jimmy Mårdell <yarin@acc.umu.se>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Saturday, October 10, 1998 7:09 PM
Subject: Re: A86: run


>
>At 15:54 1998-10-10 -0400, you wrote:
>>> how do i run another program from an asm program?
>>
>> ld hl,progname
>> rst 20h ;move program name to op1
>> call _exec_assembly ;execute program
>>
>> ...other code...
>>
>>progname:
>> .db $12,8,"BlahBlah"
>
>I think I've said this before, but you do NOT need to specify the
>variable type ($12). This would save one, maybe precious, byte:
>
> ld hl,progname-1
> rst 20h
> call _exec_assembly
>
>progname:
> .db 8,"BlahBlah"
>
>At least, you never had to do that on the TI-85, so I assume it's
>not necessary on the 86 as well.
>
>--
>Real name:     Jimmy Mårdell
>Email:         mailto:yarin@acc.umu.se
>Homepage:      http://www.acc.umu.se/~yarin/
>
>Icarus Productions homepage: http://icarus.ganymed.org/
>
>