Here's my problem:
Let's say I've got a memblock n°1 containing the following bytes:
111122223333
I want to create a memblock n°2 containing the same datas, but in a different order, like this:
222233331111
So I create the second memblock with the same size as the first one, and use the "copy memblock" command. It looks a bit like this (the real code is a lot more complex than this, but it's simplier to explain the problem this way):
make memblock 2,12
copy memblock 1,2,4,0,4
copy memblock 1,2,8,4,4
copy memblock 1,2,0,8,4
But after running this, the memblock 2 contains exactly the same datas as the first one, in the same order (111122223333); just as if the third parameter (copy start position in source memblock) was replaced by the fourth one (copy start position in target memblock).
Did anyone have this problem before? Is it possible to fix it? Am I completly wrong?
Ideas: memories of things which did not occur yet...