Hi DT,

I have a question as follows.

Code:
MyArray1 VAR BYTE[200]  ' This one won't fit into 16F877.

But instead of one array with 200 elements,
I can create five separate arrays with 40 elements each; in total I get 200.

Example:
Code:
MyArray1 VAR BYTE[40]
MyArray2 VAR BYTE[40]
MyArray3 VAR BYTE[40]
MyArray4 VAR BYTE[40]
MyArray5 VAR BYTE[40]

However, it requries me to write more code to access them in a line.

Using your ASM magic as swhon in the previous posts, can we put these five arrays into one
array say Arg0 ?

Thus, I can then use something like,

Code:
MyArray1 VAR BYTE[40]
MyArray2 VAR BYTE[40]
MyArray3 VAR BYTE[40]
MyArray4 VAR BYTE[40]
MyArray5 VAR BYTE[40]

ASM
' DT's magical hands come in here !
'....
'......
'........
ENDASM

' Then,

Arg0   VAR ' something 


'Then, finally I can use Arg0[180], Arg0[120], etc...

Is this doable?

---------------------------