Yes indeed. Your local variables that you use to read memory into, should be int's, even if you only are putting bytes in there.
Mark, how do Long's work? Are they just 2 int's? I think I found that copying Long's from memory to memory was a bit faster than copying Int's, maybe less loop overhead? Do Long's take any advantage of 64-bit buses or registers etc?
I agree you should use Int's for local variables, and then minimize memory usage using the smallest type possible, and move stuff to/from memory at least an int at a time.
Mark, is there any benefit to `pipelining` code, so you aren't waiting around for memory access to be finished from the previous instruction?
Mark, how do Long's work? Are they just 2 int's? I think I found that copying Long's from memory to memory was a bit faster than copying Int's, maybe less loop overhead? Do Long's take any advantage of 64-bit buses or registers etc?
I agree you should use Int's for local variables, and then minimize memory usage using the smallest type possible, and move stuff to/from memory at least an int at a time.
Mark, is there any benefit to `pipelining` code, so you aren't waiting around for memory access to be finished from the previous instruction?