Date: Mon, 21 Dec 1998 18:25:55 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Need ASM-Syntax to put code into one asm-instruction In-Reply-To: <8D53104ECD0CD211AF4000A0C9D60AE336F619@probe-2.Acclaim-Euro.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 21 Dec 1998, Shawn Hargreaves wrote: > Eli Zaretskii responded: > >> "movw %4,%%ds \n\t" /*<= causes crash */ > > > > You are in protected mode now, so you cannot load any arbitrary value > > into the segment registers. In protected mode, the only values that can > > be loaded into these registers are valid selector numbers. Otherwise you > > get GPF. > > But he wrote %4, not $4. Yep, it seems I was too fast to jump the gun. Sorry.