www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/19/19:20:24

Xref: news2.mv.net comp.os.msdos.djgpp:5173
From: "Brian Drum" <drum AT ix DOT netcom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Assembly
Date: Wed, 19 Jun 1996 15:30:12 -0400
Organization: Netcom
Lines: 25
Message-ID: <01bb5e15.dc3f9820$6c8bb8cd@#drum>
References: <NEWTNews DOT 835198574 DOT 25477 DOT mwallace AT pc66219>
NNTP-Posting-Host: knx-tn4-12.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


> mwallace AT skyler DOT wiltel DOT com wrote in article
<NEWTNews DOT 835198574 DOT 25477 DOT mwallace AT pc66219>...
> 
> I am trying to port an assembly routine to DJGPP.  However,
> DJGPP does not recognize the op code I'm trying to use.
> 
> The code is "shrd edx, eax, 16".  I don't know that much
> about assembly.  How do I simulate this using other op
> codes?
> 
> Thanks.
> 
> michael DOT wallace AT wcom DOT com
> 
> 

if you're trying to shift both eax and edx right 16 bits, then:

shrl $16, %eax
shrl $16, %edx

should work.

- Raw text -


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