Turing machine remembering its position

134 Views Asked by At

I want to built a TM, which can remember its position $n$, jump to the beginning of the tape and then iterate to the right until it's on the position $n-1$ (I can't use step to the left). I don't know how to achieve this position remembering and then comparing it to the current position. Is it somehow possible to achieve this behaviour with a TM?