Morning George,

I wasn't being critical - honest.

Cheers,
Norman.

-------------------------------------
Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:[EMAIL PROTECTED]
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 4:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [ql-users] Assembly question


I never intended in either GWASL or GWASS to go to the trouble of evaluating
expressions except in a "simple" way. That is in both assemblers evaluation
is done from left to right ignoring implied brackets (parentheses) so 

      3+4*8 becomes 
      3+4 -> 7 
      7*8 -> 56 

Other assemblers no doubt will produce the answer 

      3 + (4*8) = 3 + 32 = 35 

I had to go through several instructions in Turbo'c codegen altering the
order of the expressions so that GWASS wouild get the right answer. 

I apologise if people find it troublesome. (Again it is probably another
case of RTFM if things appear to go wrong.) 

George   
This email is intended only for the use of the addressees named above and
may be confidential or legally privileged.  If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents.  If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.

Reply via email to