delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/02/05:14:05

Date: Fri, 02 Mar 2001 12:13:53 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: JT Williams <jeffw AT darwin DOT sfbr DOT org>
Message-Id: <2593-Fri02Mar2001121352+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp-workers AT delorie DOT com
In-reply-to: <20010301154709.B8889@kendall.sfbr.org> (message from JT Williams
on Thu, 1 Mar 2001 15:47:09 -0600)
Subject: Re: djasm patch #5
References: <20010301154709 DOT B8889 AT kendall DOT sfbr DOT org>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 1 Mar 2001 15:47:09 -0600
> From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
> Mail-Followup-To: djgpp-workers AT delorie DOT com
> Content-Disposition: inline
> User-Agent: Mutt/1.2.5i
> Reply-To: djgpp-workers AT delorie DOT com
> X-Mailing-List: djgpp-workers AT delorie DOT com
> X-Unsubscribes-To: listserv AT delorie DOT com
> Precedence: bulk
> Content-Type: text/plain; charset=us-ascii
> Content-Length: 4921
> 
> Below is the next patch for djasm.  This patch adds support for
> the byte/word/double forms of the shift and rotate instructions.

Thanks!

> In this patch, the current double-precision shift instructions
> are removed, and `sh[lr]d' is implemented to be consistent with
> other mnemonics.  I don't think this breaks any djasm code
> currently in CVS; I couldn't find any `*.asm' files that used
> the double-precision `shld' or `shrd' instructions.

Is it possible to add a compatibility option which would revert
sh[lr]d to their old meaning?  DJGPP sources are not the only users of
djasm, although that's what djasm was originally invented for.  I
think we should make a good-faith effort not to break
back-compatibility without leaving some escape hatch.

Anyway, this change deserves to be documented, both in the djasm docs
and in wc204.txi.

> % find . -name '*\.asm' -exec grep -l 'sh[lr]' '{}' ';'

I wonder why didn't you use "grep -l 'sh[lr]' .../*.asm" here ;-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019