Mail Archives: djgpp/1998/04/16/01:13:10
John M. Aldrich wrote:
>
> Of course you don't need that before every memory access; only those
> which transfer data to conventional memory using the _farpokeX/_farpeekX
> convention. And you only need the segment override once per looping
> construct, as long as you don't call any library code that alters the
> value of %fs.
Never mind; you are probably right. I did some research after posting
this and it is apparently necessary to use .byte 0x64 before each
operation to tell the CPU to use %fs instead of %ds for the mov
instruction.
Sorry for the misinformation.
--
---------------------------------------------------------------------
| John M. Aldrich |"Men rarely (if ever) manage to dream |
| aka Fighteer I |up a god superior to themselves. Most |
| mailto:fighteer AT cs DOT com |gods have the manners and morals of a |
| http://www.cs.com/fighteer |spoiled child." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -