delorie.com/archives/browse.cgi | search |
Date: | Sat, 18 Apr 1998 10:56:18 -0700 (PDT) |
From: | Nate Eldredge <nate AT cartsys DOT com> |
To: | lou smith <9813152 AT fharga DOT sun DOT ac DOT za> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: more about pointers and selectors.. |
In-Reply-To: | <212FB829BE@fharga.sun.ac.za> |
Message-ID: | <Pine.LNX.3.96.980418105600.259E-100000@unixbox.bitbucket.org> |
MIME-Version: | 1.0 |
On Sat, 18 Apr 1998, lou smith wrote: > hi > > thanks for replying to my question about pointers and the selectors > they use.. > > suppose i did the following : > > short *buf; buf = malloc(1000); > > and then (using ext inline asm) passed this pointer as a argument and > put it in %%esi, leaving %%ds as i found it.. > > could i then access this array using %%ds:%%esi Yes. Nate Eldredge nate AT cartsys DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |