Hello,
i'm new in progamming with C language, till now i've used assembly, and i don't know how to read a value from a specific location in program memory.
In assembly i have these intructions:
SPLK #5800h,Var
LACC Var
TBLR Var2
to read a word at a certain address. How can i write it in C?
I use an F2406A and CCS v.3.3.82.13.
I need this code because i want to scroll some datas from a table, accessing it only with address. Till now we have used assembly for programming, but now to improve speed, and to adequate at safety specifications, IEC 61508, we have decided to write the application in C, with the problem of learning a new language.
thanks