This idea came up
nearby: what kind of relatively simple programming exercises might be useful to someone new to the 6502, unfamiliar with the addressing modes, unsure how to use the registers, perhaps used to a CPU with rather different facilities?
My first thought was this:
here's an idea: write a routine to clear a 1000 byte block of memory, the address being known at assembly time. You can probably write it three or four ways, and doing so might itself be a good exercise.
(I think people who speak of a coding dojo would call these exercises
kata. But I'm not thinking about general coding competence, more at targeting competence in making best use of the 6502.)
(Edit: I think it's best not to discuss or attempt solutions on this thread, so
here's one for that.)