www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/27/07:12:01

Date: Tue, 27 Feb 1996 13:15:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "sandipan (tech serv)" <sandy AT genius DOT tisl DOT soft DOT net>
Cc: list server dj <djgpp AT delorie DOT com>
Subject: Re: .byte 0x64
In-Reply-To: <Pine.A32.3.91.960227141833.9397B-100000@genius.tisl.soft.net>
Message-Id: <Pine.SUN.3.91.960227131334.9413B-100000@is>
Mime-Version: 1.0

On Tue, 27 Feb 1996, sandipan (tech serv) 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 ?

Gas (the GNU assembler invoked by Gcc) doesn't understand segment 
overrides, so you must use the above.  It's just an opcode that other 
assemblers emit when they see "FS:" override.  FS is the register that 
gets the selector of the far pointer you use in ``farptr'' functions.

- Raw text -


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