I want to point many variables to particular memory locations in a PIC.
In ASM I do as this
So I know the address of each data1, data2, data3...... etc......
In C language how I point memory address?
In the above I don't know the exact memory address
I use mikroC
In ASM I do as this
Code:
cblock 40h
data1,Data2,data3
endc
So I know the address of each data1, data2, data3...... etc......
In C language how I point memory address?
Code:
unsigned short data1,data2,data3
In the above I don't know the exact memory address
I use mikroC