Re: A83: making_program in program
[Prev][Next][Index][Thread]
Re: A83: making_program in program
Your .db is *WAY* too long. TASM won't handle long .DB's. You will have to
split it to _many_ lines, or forget about useless hex anyway.
>From: "Jan (belgacom)" <jandebeule@belgacom.net>
>Reply-To: assembly-83@lists.ticalc.org
>To: "TI-83 assembly-83" <assembly-83@lists.ticalc.org>
>Subject: A83: making_program in program
>Date: Fri, 17 Nov 2000 20:56:53 +0100
>
>again i have a problem with this pasting in code from one program into
>another. this is my code:
>
>.org 9327h
> call _zerooop1 ; Set Op1 to zero
> ld hl,progname1 ; the name of the prog
> ld de,op1 ; copy it to op1
> ld bc,3 ; 3 chars in name
>
> ldir ; do the copying
> call _chkfindsym ; look it up
> call nc,_delvar ; if it is there delete it
> ld hl,3780 ; length of program (in bytes)
> call _createprog ; create it
>
> inc de ; skip 1st length byte
> inc de ; skip 2nd length byte
> ld hl,prog1 ; program data
> ld bc,17 ; program data length
> ldir ; copy data
>
> ret ; all done!
>
>progname1:
> .db PROGOBJ," SV",0
>prog1:
> .db
>"3F180600006F9A7C9ACD9547CD5547210101225282213D96CD814721010722528221489
That line is too long, and TASM can't handle monstrosities of strings like
that.
...
>56600536F63636572203230303000F03C40403804047800FF",tEnter => this is
>(again) what i mean!!!! but when i compile it with ultraedit 32 he gives an
>error: max number of args exceeded. I know this is a large program i'm
>trying to put in, but he also gives an error when you don't have such a
>large program. i think it has something to do with the .db statement (also
>get sometimes errors when i try to put strings (about six words or so, so
>that's not much i recon) on my screen that way), but that's the way i
>learned it (from James Matthews :)).
> .db tEnd,tEnter
> .db "0000",tEnter
> .db tEnd
>
>greats vladimir
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.