Xref: news2.mv.net comp.os.msdos.djgpp:3412 From: fmarcos AT jet DOT es (Fernando Marcos) Newsgroups: comp.os.msdos.djgpp Subject: Bug in AS? Date: Fri, 03 May 1996 10:05:34 GMT Organization: Servicio IBERNET (Telefonica Transmision de Datos) Lines: 27 Message-ID: <4mclgn$dsh@minerva.ibernet.es> NNTP-Posting-Host: info103.jet.es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have found something "curious" in as. For example, assembling: movw $1234,%fs:wops or incl %fs:wops goes ok, but replacing the constant with a register: movw %ax,%fs:wops just generates movw %ax,wops which is not, preciselly, what we wanted, as it drops the segment prefix. Writing fs movw %ax,wops generates the correct code. Can someone else test it and tell me something? My as is dated Feb 02 1996, 2:08a. Fernando Marcos