Part Number: CC3220MODA
Tool/software: Code Composer Studio
This should be simple but I cannot seem to find the answer; I am optimizing a bit of c/c++ code with assembly and need to interface with a few global variables declared on the c/c++ side. I cant seem to find how to do this. So for example:
==== c/c++ side defines these variables
int globalVar;
int globalArray[10];
=====
.global myfunc
myfunc;
ldr r0, <value of globalVar>
ldr r1, <address of globaVar>
ldr r2, <address of globalArray>
With the stuff between brackets <> what I don't know. I have the "ARMAssemblyLanguageToolsv18.1.0.LTS" from 2018 doc but this is either not documenting it or I missed it.