I need to pass large arrays between PBP and ASM - larger than the BANKA limit. If I define an array in PBP, what is the best way to find the start location (in RAM) of that array in ASM? I'm using an 18F8723.
I need to pass large arrays between PBP and ASM - larger than the BANKA limit. If I define an array in PBP, what is the best way to find the start location (in RAM) of that array in ASM? I'm using an 18F8723.
Charles Linquist
I guess another question could be - does CH?RP work for RAM variables?
Charles Linquist
Charles,
Since you are using an 18F. You might want to use the FSR's and the LFSR instruction to access your arrays.
Code:LFSR FSR0, _MyArray MOVF _Idx, W MOVFF PLUSW0, _Destination
DT
Bookmarks