Date: Fri, 23 Sep 1994 14:20:47 -0500 From: "Young U. Ryu" Subject: Getting segment and offset addresses of a buffer To: djgpp AT sun DOT soe DOT clarkson DOT edu Just for a practice, I'd like to create a directory using int86x (or intdosx). To do that, I have to supply the segment (for DS register) and offset (for DI register) addresses of a buffer containing the directory name. Say that the buffer is defined as an array of characters. Then, how can I get the segment and offset addresses of the buffer? Thanks for your help. Young +-------------------------------------------------------------------+ | Young U. Ryu JO 4.4, P.O.Box 830688 | | Assistant Professor of MIS 2061 N. Floyd Road | | School of Management Richardson, Texas 75083-0688 | | University of Texas at Dallas U.S.A. | | | | Fax: 214-690-2799 Internet: ryoung AT utdallas DOT edu | +-------------------------------------------------------------------+