Xref: news-dnh.mv.net comp.os.msdos.djgpp:130 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!news.onramp.net!convex!cs.utexas.edu!uwm.edu!news.alpha.net!news.mathworks.com!gatech!newsfeed.pitt.edu!dbisna.com!psinntp!psinntp!psinntp!psinntp!netrixgw.netrix.com!jasmine!ld From: ld AT jasmine DOT netrix DOT com (Long Doan) Subject: Re: Gnu Assembler Question To: teney931 AT cs DOT uidaho DOT edu (Aric TenEyck) Sender: ld AT jasmine (Long Doan) Organization: Netrix Corporation References: <3qm83p$7fg AT newshound DOT uidaho DOT edu> Date: Mon, 5 Jun 1995 13:31:28 GMT Lines: 16 Dj-Gateway: from newsgroup comp.os.msdos.djgpp In article <3qm83p$7fg AT newshound DOT uidaho DOT edu>, teney931 AT cs DOT uidaho DOT edu (Aric TenEyck) writes: |> A couple of them, actually: |> |> 1) How do I do an SHL EAX, 16 in GAS? SHL %EAX, 16 give an undefined |> opcode error, as does SHL 16, %EAX. I can do it by 16 SHL %EAX's, but |> the chip can do multi-bit shifts at once, so that is wasteful. Try: shll $16, %eax |> |> 2) I don't suppose that there is a converter for Intel format to GAS |> format, is there? Nope, you'll have to do it by hand. Long.