problem:print string when ARM is running in ROM only

Hello, I have to write a self test routine that was required to run in rom only(ram is not allowed). For ADS1.2 assembler,how can i define a string such as "abcd" without using variable? Thanks!

Reply to
Zhenhuan Du
Loading thread data ...

Why should you not use the on-chip RAM of the chip ? There is no need to test same.

If not using ARM at all, you can't use something like variable strings. Of course you can use pointers to constant strings.

-Michael

Reply to
Michael Schnell

Why should you not use the on-chip RAM of the chip ? There is no need to test same.

If not using RAM at all, you can't use something like variable strings. Of course you can use pointers to constant strings.

-Michael

Reply to
Michael Schnell

thanks you all, using a "DCB" definition in readonly area solved the problem!

Reply to
Zhenhuan Du

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.