www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/07/08:47:48

Xref: news2.mv.net comp.os.msdos.djgpp:6806
From: C M Marka <matriu AT gim DOT ktu DOT lt>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: asm question
Date: Sat, 3 Aug 1996 17:16:22 +0000
Organization: LITNET
Lines: 13
Message-ID: <Pine.HPP.3.91.960803171530.7717B-100000@santaka.sc-uni.ktu.lt>
References: <Pine DOT SOL DOT 3 DOT 91 DOT 960731085042 DOT 8839A-100000 AT wilbur>
NNTP-Posting-Host: santaka.sc-uni.ktu.lt
Mime-Version: 1.0
In-Reply-To: <Pine.SOL.3.91.960731085042.8839A-100000@wilbur>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 31 Jul 1996, patrick fox wrote:

> 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
> 
 
 It's shldl $16,%eax,%edx. You could experiment a little, anyway.

Martynas
 

- Raw text -


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