www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/07/10:40:19

Xref: news2.mv.net comp.os.msdos.djgpp:6765
From: Orco <mar AT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: asm question
Date: Thu, 1 Aug 1996 21:37:41 +0100
Organization: Orco
Lines: 13
Distribution: world
Message-ID: <hWJQlEAVWRAyEwlB@demon.co.uk>
References: <Pine DOT SOL DOT 3 DOT 91 DOT 960731085042 DOT 8839A-100000 AT wilbur>
NNTP-Posting-Host: gorge.demon.co.uk
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT SOL DOT 3 DOT 91 DOT 960731085042 DOT 8839A-100000 AT wilbur>, patrick fox
<web183 AT charweb DOT org> writes
>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 should be the first: shldl $16, %%edx, %%eax
-- 
Maidul Alam Rahman
mar AT gorge DOT demon DOT co DOT uk

- Raw text -


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