Re: A86: Running Stuff


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

Re: A86: Running Stuff




You're not passing it correctly to the rst 20h.  And also, you really don't need
it.  just point hl to this structure:

Prog:
  .db 13,06,"insane",0

(i think - not too sure about the 1st 2 bytes, but i'm pretty sure they're var
type and name length)

A. El-Helw wrote:

> Hey,
>         I tried what someone posted about running programs and looked at some
> stuff, and I came up with this, but i get an error undefined .. although
> the program is on my calc.  Anyone know why???  Could it be ld bc or de
> ProgList, or ???  Its the only way i could compile it right...
>
> ;--------------------------     --
> #include asm86.h
> #include ti86asm.inc
>
> .org $D748
>
>         call _clrLCD
>         ld hl,ProgList
>         rst 20h
>         call _exec_assembly
>         ret
>
> ProgList:       .db "insane",0
>
> .end
> END
> ;--------------------------------
>                                                                         Thanks
>                                                                         Ahmed
> Ahmed El-Helw
> ahmedre@worldnet.att.net
> http://asm86.home.ml.org
> http://asm8x.home.ml.org
> Ahmed_ on IRC
> ICQ UIN: 3350394



--
Stephen Hicks
mailto:shicks@mindspring.com
UIN:5453914
AIM:Kupopo1



Follow-Ups: References: