Fix x, y inaccuracy in user code
Fix x, y inaccuracy in user code

The x and y variables are now updated before stepping the processor
so that user code gets the current position instead of the previous
position.

aarmea/mumei,aarmea/mumei,aarmea/mumei