Message-Id: <3.0.6.32.19990203221642.008b15c0@pop.netaddress.com> X-Sender: pderbysh AT pop DOT netaddress DOT com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 03 Feb 1999 22:16:42 -0500 To: djgpp AT delorie DOT com From: Paul Derbyshire Subject: Re: Accessing Constants in Assembly Code In-Reply-To: References: <001301be4ec9$0525a9e0$9fbc98ce AT waldroni> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com At 01:14 PM 2/3/99 +0200, you wrote: > >On Tue, 2 Feb 1999, Isaac Waldron wrote: > >> The only line that accesses VideoRAM in blit.s appears as such: >> >> mov eax,[_VideoRAM] (NASM syntax) > >Then why did the linker complain about VideoRAM, without the >underscore? Because VideoRam is the demangled version of the name _VideoRam and it assumes any name in assembly language is mangled perhaps? The linker always seems to try to demangle names to report problems. -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------- -- B. Mandelbrot |http://surf.to/pgd.net _____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net Programmer & Humanist|ICQ: 10423848|