there's most popular and simple method.lekt wrote:...
*d++=*r++;*d++=*r++;*d++=*r++;...// 128 statments, i use different methods for this copy 128 byes
...
now i use:
a:
*d=r*;
xxx...; //manipulation &d and &r depend on specific memory address of d
...
goto a;
if good address/pointers of d and r then can use xxx...; with only asign (=constant) and logical/bitwise operators, no need +/-, no need counter, use only unsigned char. in C i can use only that, no more access to memory. not sure. if use d and r as unsigned __int64 then sound more clean but hard, less vibration.
how do you do this copy? think assembly can give more directly access to memory elements.
heard you said about massage data, mqn very long time need for load player.
-------------EDIT:
forgot, can also assign by array index d=r; but i think it's mapping technical of C, compiler will make d+=i;r+=i;*d=*r; maybe...