What’s the reasoning behind memoryCopy()?
It looks pretty much like memcpy
Is it to avoid 16bit n and to avoid putting the arguments on the stack?
Edit:
I think it was mostly for reusing n and to avoid the stack.
I kept n in a variable with the new calling convention, that generates smaller code than memcpy, but I didn’t look at speed.
What’s the reasoning behind
memoryCopy()?It looks pretty much like memcpy
Is it to avoid 16bit
nand to avoid putting the arguments on the stack?Edit:
I think it was mostly for reusing
nand to avoid the stack.I kept
nin a variable with the new calling convention, that generates smaller code thanmemcpy, but I didn’t look at speed.