Date: Sat, 18 Apr 1998 10:56:18 -0700 (PDT) From: Nate Eldredge 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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