LPC1768_Strings_assembly code

Hi, I'm working with LPC1768 MC & using the MDK simulator.  My assembly code is  involving strings. When I declare the string in data segment, it doesnt get reflected in memory window during the debug session. But if I declare the string in code segment, it gets reflected in the memory window during the debug session. Can anyone let me know, why this is happening?

Parents
  • Can you show an example? A picture or some code showing how you declare/define the strings that work and those that don't?

    Simulating an LPC1768 in Keil MDK 5.31 seems to work just fine: strings defined as constant data, on the stack, or on the heap show up in the debugger as strings.

Reply
  • Can you show an example? A picture or some code showing how you declare/define the strings that work and those that don't?

    Simulating an LPC1768 in Keil MDK 5.31 seems to work just fine: strings defined as constant data, on the stack, or on the heap show up in the debugger as strings.

Children
More questions in this forum