delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/23:02:28

Date: Wed, 27 Aug 1997 20:01:06 -0700 (PDT)
Message-Id: <199708280301.UAA10583@adit.ap.net>
Mime-Version: 1.0
To: overlord AT fm-net DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Virtual mem stuff
Cc: djgpp AT delorie DOT com

At 08:25  8/25/1997 -0500, you wrote:
>Is the offset char or long alligned in the farpokel?  Is there
>a better way of doing it?  I am only writing to it l dword at a time. 
>Thanks in advance!
farpokel does not need its address to be aligned. It's just this, in Intel
asm syntax:
   mov fs,selector
   mov fs:[offset],value
Since the 80*86 architecture does not require memory accesses to be aligned,
you can farpokel to any address your heart desires, provided it's not out of
range.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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