| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | the lds function |
Hail!
Once you wrote to Robert Glodt:
JV> But remember MOV uses DS as a segment pointer, here you've changed DS
JV> first and therefore loaded AX from a new location...
JV> Use segment overrides to force things:
JV> mov ax,cs:[100h]
JV> mov ds,ax
JV> mov ax,cs:[102h]
JV> This should be equal to lds ax,cs:[100h]. I hope. ;-)
In vain, though. (:
mov ax,[ds:100h]
mov ds,[ds:102h]
Farewell!
--- GoldED 2.50+
---------------
* Origin: John Barleycorn Must Die (FidoNet 2:5020/157.59) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.