now I see... everything is in docs. ~d
On Thursday 05 December 2002 20:19, Mark Stokes wrote: > I'm having trouble referencing LCD memory in some block assembly I have. > Code snippit enclosed. > > Basically, if I declare GLOBLCDMEM as a constant char, and point it to > LCDMEM, it uses the RAM location of GLOBLCDMEM, instead of the memory > location for the first LCD location (it uses 0x200 instead of 0x91). > I know this is a dereference issue, but I can't figure out how to force > the compiler to use the value that GLOBLCDMEM points to (in RAM) instead > of the location of GLOBLCDMEM. > Of course ultimately, the more logical solution would be to use a > #define for this. Or just use the predefined LCDMEM (in lcd.h). And I > would do this, but apparently, ASM statements can't see #define'd > variables. Is this a bug? > > Thanks > -Mark -- ********************************************************************* ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 314-8860, 5585314 *********************************************************************