mov oself.handle, ds:[0]
mov oself.chunk, si
(you could also use ".high" and ".low" or
".segment" and ".offset")
-Ed-
Date: Sun, 9 Feb 1997 23:30:24 -0500
From: "Edward Di Geronimo Jr." <edwdig@bergen.org>
Sender: owner-geos-dev@lifelike.com
Hi everyone,
Quick Esp question. I have a local variable called oself, and it's an optr.
I want to put into it the word at ds:[0] and the word in si. What's the
right way to do it?
movdw oself, ds:[0]si ;Doesn't work
------------------------------------------------------------------------
| Don't you have geek code? I'm proud to be a geek! |
| -Miss Lucey, almighty webgoddess of bergen.org, on geek code |
------------------------------------------------------------------------
| Edward Di Geronimo Jr. edwdig@bergen.org |
------------------------------------------------------------------------