delorie.com/archives/browse.cgi | search |
From: | Seogmin Lee <pchacker AT pchacker DOT pe DOT kr> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: HELP! (ASSEMBLY LANGUAGE) |
Date: | Mon, 09 Aug 1999 06:21:03 +0900 |
Organization: | Korea PC Telecom |
Lines: | 31 |
Message-ID: | <37ADF4BF.81192AA3@pchacker.pe.kr> |
References: | <37ad5065 DOT 631051 AT news DOT telepac DOT pt> |
NNTP-Posting-Host: | kpt2004.hitel.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.51 [ko] (Win98; I) |
X-Accept-Language: | ko |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
double_buffer is far pointer(32-bit)?? x86 assembly code "les" means "load es", it does this : Load the far pointer segment -> es (16-bit) offset -> di (16-bit) But, DJGPP is 32-bit, It doesn't need segment, and offset is 32-bit, it is default! <Borland> les di, double_buffer <DJGPP> ... movl %3, %edi /* %3 == double_buffer, it is far pointer, %edi is 32-bit */ ..." : : ... : ... , "g" (double_buffer) When I use "les" in DJGPP, I did above... If it is wrong, tell me... My English is short! I'm sorry! :-) From : pchacker AT pchacker DOT pe DOT kr
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |