delorie.com/archives/browse.cgi | search |
Date: | Mon, 1 Jul 2002 21:00:35 -0400 |
Message-Id: | <200207020100.g6210ZO19778@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <3D20F4E0.90907@calixo.no-really.net> (message from David |
Anderson on Tue, 02 Jul 2002 02:33:36 +0200) | |
Subject: | Re: Pointer arithmetics |
References: | <3D205E79 DOT 7020104 AT calixo DOT no-really DOT net> <ui14i9lus6d05 AT news DOT supernews DOT com> <3D20F4E0 DOT 90907 AT calixo DOT no-really DOT net> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> I have an assembly file (compile to object code with tasm), http://www.delorie.com/djgpp/v2faq/faq17_5.html > However, I'd like this ASM routine to modify a statically defined > variable, called mouse_state_changed (unsigned char). How do I make it > accessible in the ASM file? Use "gcc -S foo.c" where foo.c is some C source file that does what you want (but in C of course). That will produce foo.s, which is the corresponding assembly. You can read that and see how to do what you want in assembly.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |