From: Dominik C. <cab...@gm...> - 2008-09-23 18:21:41
|
Hi folks, I tried to search the archieves, but the SourceForge search doesn't work (maybe I am just to stupid to use it...). I want to use a variable I declared localy in a function in inline assembly. But if I try to access the variable like: unsigned char tmp; _asm push _tmp _endasm I get a linker warning about the undefined global _tmp and in ASM-Code i can see that instead of the _tmp variable the memory location 0 is accessed. Is there a way of accessing local Variables in _asm or do I have to declare it global? Thanks Dominik -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx |