You would put those in the same place as the rest of the movement code. For example, for moving up you would put Y=Y-1 underneath @MVUP. The X and Y variables should be used to keep track of the player's coordinates. For example, if X=128 and Y=64, you (probably) want the sprite to be at those coordinates. By changing these values, you can easily control the player's location.