Xref: news2.mv.net comp.os.msdos.djgpp:5173 From: "Brian Drum" 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: 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 ... > > 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.