I\'m trying to learn assembly (so bear with me) and I\'m getting a compile error on this line:
mov byte [t_last], [t_cur]
The error is
Your suspicion is correct, you can't move from memory to memory.
Any general-purpose register will do. Remember to PUSH the register if you are not sure what's inside it and to restore it back once done.