www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/31/13:50:45

Message-Id: <199607311743.KAA27261@bluesky.com>
Comments: Authenticated sender is <kbaca AT bluesky>
From: kbaca AT skygames DOT com
To: patrick fox <web183 AT charweb DOT org>
Date: Wed, 31 Jul 1996 10:46:44 +0000
MIME-Version: 1.0
Subject: Re: asm question
CC: djgpp AT delorie DOT com

> In intel assembly I use the instruction shld edx,eax,16 to shift 16 bits of
> eax into edx. In at&t assembly, would I use shldl $16,%edx,%eax or
> shldl $16,%eax,%edx? Thanks for the help
> 
> -Pat

The second one.  AT&T uses a source,destination syntax while Intel 
uses a destination,source syntax.

-Kevin

- Raw text -


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