AnsweredAssumed Answered

Packing String Literals

Question asked by babazaroni on Jun 29, 2014
Latest reply on Jul 2, 2014 by bookevg

I have some documentation strings that get directed by the ldf file into a section that doesn't get loaded into sharc memory, but is used by a pc application.

 

For the string "abc", the compiler puts each letter into a different word, taking up 4 words.

 

How can I get the compiler to pack a c-style string into all the bytes of a word?

Outcomes