www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/04/08:19:53

Date: Mon, 4 Mar 1996 08:03:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: William Petiot <wpetiot AT worldnet DOT fr>
Cc: djgpp AT delorie DOT com
Subject: Re: .byte 0x64
In-Reply-To: <4hcs8u$1l6@aldebaran.sct.fr>
Message-Id: <Pine.SUN.3.91.960304080319.21243C-100000@is>
Mime-Version: 1.0

On Wed, 28 Feb 1996, William Petiot wrote:

> >Could anyone help me out with the code in sys/farptr.h.
> >All the functions have a ".byte 0x64" before the move. Why
> >is this required ?
> 
> 0x64 is the opcode for prefix segment mnemonic : "ES:"
> farptr uses ES segment register to access memory, Gnu AS doesn't know
> the prefix ES: so one must use .byte 0x64 to encode this.

It's FS:, not ES:.

- Raw text -


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