One good thing to remember about asm DATA, DA, DT...
Recently I've messed a lot with the Nokia GLCD thing and while I added Strings, some could not be properly displayed, code went to lalaLand. The reason is like Bruce said... page boundary. In the end my macro just needed a simple modification... from something like
ToCode:MyWhateverString Macro Str local STRStart, STREnd GOTO STREnd STRStart DT Str STREnd MOVE?CW STRStart, _WhateverAddrVar L?CALL _MainSub ENDM
problem solvedCode:MyWhateverString Macro Str local STRStart, STREnd L?GOTO STREnd STRStart DT Str STREnd MOVE?CW STRStart, _WhateverAddrVar L?CALL _MainSub ENDM




Bookmarks