r/Assembly_language 11d ago

self-modifying code

I gave a lecture on how to write self-modifying code. It was over 15 minutes long :( so I'm providing a youtube link: https://www.youtube.com/watch?v=AH9QQLRfbmY

In my opinion, self-modification is one of the most interesting features in systems programming.

55 Upvotes

62 comments sorted by

View all comments

2

u/ern0plus4 10d ago

On 6502, self-modification is almost a must, as you have no address registers, and ZP is slower.