Displaying 1 result from an estimated 1 matches for "_zz4maine6values".
Did you mean:
_zz4maine5value
2010 Dec 01
0
[LLVMdev] Problems with paged registers and seperated program and data memory
...in assembler for these two cases. Right now, I already create code, that loads data from both but I don't know how to check, which load operation I have to use.
Small example of a load from program memory:
C Code:
...
int values[] = {25, 13, 19, 31, 11, 99, 21, 17};
...
Assembler:
...
mov _ZZ4mainE6values, R0
add 2, R0
...
mov R0, R16
ld A0, D0 <-- this is my bad load
operation, that loads everything
A0 is alias for R0
D0 i...