www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/15/14:21:29

From: "lou smith" <9813152 AT fharga DOT sun DOT ac DOT za>
Organization: Stellenbosch University
To: djgpp AT delorie DOT com
Date: Wed, 15 Apr 1998 17:02:25 +0200
MIME-Version: 1.0
Subject: farnspoke/peek and the ".byte 0x64" thingy
Message-ID: <28AB7905E4C@fharga.sun.ac.za>

hi

why does _farnspoke / peek need the ".byte 0x64" segment override
(note : farNSpoke/peek )

someone replied to some of my previous questions (i.e. "is it 
neccesary for EVERY memory access instruction to be preceded by a 
segment override ") and told me that memory access instructions dont 
need to be preceded by a segment override - he told me that 
farnspoke/peek ,for example, dont precede every memory access with a 
"byte 0x64"

BUT when i looked in "farptr.h" i saw that it does !!?!?!

could someone please explain to me what segment overriding is  all 
about -- because quite clearly i'm extremely confused.

thanks. lou smith

- Raw text -


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