Hello CCS Forum Team
I use TMS570LC4357 Launchpad with CCS Version: 6.1.1.00022.
Please let me know how to pass the address of a global variable declared in C to Stack pointer in an .asm code.
Here is how I tried to link
In .C
uint32 g_sys_backup_u32[8388608] __attribute__((section(".sdram")));
In .asm
LDR SP,[g_sys_backup_u32]
Please let me know if this is a right way or the syntax is different?
Thanks in advance!