Mail Archives: djgpp/1997/08/27/23:02:28
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 -