delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/07/15:15:03

Date: Thu, 7 Jul 1994 14:15:46 -0400 (EDT)
From: SGW46959M021 AT DAFFY DOT MILLERSV DOT EDU
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: inline assembly

	Well, I've given up on translating directly from TASM source to
GAS source, so now I'm using asm(...) directives. It takes some of the 
confusion out of the process.
	Anyways, a few questions:
	1. is movsl the same as TASM movsd (I took a guess and it compiles,
	   but since it's part of a much larger executable and I have tt
	   translate the whole thing before testing, I want to be sure).
	2. how would mov al,fs[edx][eax] translate?
				^^^^^^this is the problem
	   I know it would be movl %fs???????,%al
	3. And am I correct in translating mov es:[di],al to
	   movl %al,%es:%di ? Once again, just checking myself.

Well, thanks in advance.

						S. Walizer

- Raw text -


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