[A83] Re: Help! tasm error


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

[A83] Re: Help! tasm error




It could be (and probably was!) that the 
#define equ .equ
#define EQU .equ
was in your ti83plus.inc file, and now isn't anymore.

Is tasm giving any more errors than "unused data in msb......)

If I assemble a simple program that uses no includes,
and uses
random equ $4342 (to take a random number...)
, it gives a bunch of errors about the labels too.


--Peter-Martijn
> 
> 
> the equ and EQU were working before.. my program would assemble fine.  But
> now it won't let me equate labels to other labels e.g.
> label2 equ label1+1
> It seems like I messed something up with TASM, but I copied the program
> from its original zip file and I still got the error.  Has anyone else ever
> gotten this error?
> 
> ----------------------------------------------
> Original Message
> From: "Dan Weiss"<dwedit@hotmail.com>
> Subject: [A83] Re: Help! tasm error
> Date: Sun, 16 Sep 2001 18:31:36 -0500
> 
> >
> >#define EQU .EQU
> >#define equ .equ
> >
> >I think...
> >
> >
> >>From: "Joe Pemberton" <dArkSk8eR@buffbody.com>
> >>Reply-To: assembly-83@lists.ticalc.org
> >>To: assembly-83@lists.ticalc.org
> >>Subject: [A83] Re: Help!  tasm error
> >>Date: Sun, 16 Sep 2001 17:35:11 -0500
> >>MIME-Version: 1.0
> >>Received: from [195.67.128.9] by hotmail.com (3.2) with ESMTP id 
> >>MHotMailBD6E74C800B440043151C34380090C560; Sun, 16 Sep 2001 15:38:10 -0700
> >>Received: from towerguard. (mx-1.sollentuna.net [195.67.128.9])by 
> >>mx-1.sollentuna.net (Postfix) with ESMTPid 77CBA1801E; Mon, 17 Sep 2001 
> >>00:37:51 +0200 (CEST)
> >>Received: with LISTAR (v1.0.0; list assembly-83); Mon, 17 Sep 2001
> 00:37:51 
> >>+0200 (CEST)
> >>Received: from greekemail.com (unknown [208.133.128.112])by 
> >>mx-1.sollentuna.net (Postfix) with ESMTP id 46C8118014for 
> >><assembly-83@lists.ticalc.org>; Mon, 17 Sep 2001 00:37:50 +0200 (CEST)
> >>Received: from buffbody.com [192.168.1.22] by greekemail.com  
> >>(SMTPD32-6.00) id ACE276E0098; Sun, 16 Sep 2001 18:09:54 +0100
> >>From assembly-83-bounce@lists.ticalc.org Sun, 16 Sep 2001 15:38:25 -0700
> >>Delivered-To: lists.ticalc-assembly-83@mx-1.sollentuna.net
> >>Message-ID: <633420019016223511303@buffbody.com>
> >>X-EM-Version: 5, 0, 0, 4
> >>X-EM-Registration: #01E0520310450300B900
> >>X-Priority: 3
> >>X-Mailer: My Own Email v4.00
> >>X-listar-version: Listar v1.0.0
> >>Sender: assembly-83-bounce@lists.ticalc.org
> >>Errors-To: assembly-83-bounce@lists.ticalc.org
> >>X-original-sender: dArkSk8eR@buffbody.com
> >>Precedence: bulk
> >>X-list: assembly-83
> >>
> >>
> >>
> >>----------------------------------------------
> >>Original Message
> >>From: "Joe Pemberton"<dArkSk8eR@buffbody.com>
> >>Subject: [A83] Re: Help!  tasm error
> >>Date: Sun, 16 Sep 2001 17:34:11 -0500
> >>
> >> >
> >> >
> >> >----------------------------------------------
> >> >Original Message
> >> >From: "Joe Pemberton"<dArkSk8eR@buffbody.com>
> >> >Subject: [A83] Help!  tasm error
> >> >Date: Sun, 16 Sep 2001 17:22:37 -0500
> >>
> >>oops.. forgot the .list
> >> >btw.. I get this error when I try and assemble ANY program that uses
> >> >equates for memory addresses, even simple little ones like
> >> >
> >> >.nolist
> >> >#include "ti83plus.inc"
> >> >var1              equ           $86ce
> >> >var2              equ           var1+1
> >>.list
> >> >.org 9d95
> >> >  ld a,(var2)
> >> >  ret
> >> >.end
> >> >END
> >> >
> >> >When I try and assemble this, I get the same error at the line with ld
> >> >a,(var2).
> >> >
> >> >
> >> >
> >> >
> >> >>
> >> >>I'm making a game and I'm using TASM to assemble it.  I got pretty far
> >>with
> >> >>no errors.  I've been using free ram for variable storage i.e.
> >> >>
> >> >>temp		equ	$86ec
> >> >>explosionsprites	equ	temp+6
> >> >>powerupsprites	equ	explosionsprites+(5*16)
> >> >>ship_y		equ	powerupsprites+2*((2*4)*8)
> >> >>ship_x		equ	ship_y+1
> >> >>shields		equ	ship_X+1
> >> >>health		equ	shields+1
> >> >>shotready  equ	health+1
> >> >>weapon		equ	shotready+1
> >> >>flipflop	equ	weapon+1
> >> >>changetimer	equ	flipflop+1
> >> >>level		equ	changetimer+1
> >> >>enemyrate	equ	level+1
> >> >>pending_damage	equ	enemyrate+1
> >> >>lives		equ	pending_damage+1
> >> >>special		equ	lives+1
> >> >>
> >> >>It assembled fine until now.  I didn't change anything with the
> equates,
> >> >>but now I get a bunch of errors that say "Unused data in MS byte of
> >> >>argument. (21)" whenever I try to access the memory like ld a,(level)
> or
> >> >>something.  It's like the labels aren't there.. but it worked for a
> long
> >> >>time before this.  I tried downloading tasm again.. didn't work.  How
> do 
> >>I
> >> >>fix this?
> >> >>
> >> >>_____________________________________________
> >> >>Free email with personality! Over 200 domains!
> >> >>http://www.MyOwnEmail.com
> >> >>
> >> >>
> >> >>
> >> >>
> >> >
> >> >_____________________________________________
> >> >Free email with personality! Over 200 domains!
> >> >http://www.MyOwnEmail.com
> >> >
> >> >
> >> >
> >> >
> >>
> >>_____________________________________________
> >>Free email with personality! Over 200 domains!
> >>http://www.MyOwnEmail.com
> >>
> >>
> >>
> >
> >
> >_________________________________________________________________
> >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> >
> >
> >
> >
> 
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
> 
> 
> 





References: