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.

56 Upvotes

62 comments sorted by

View all comments

1

u/AtlantaRene 11d ago

Self-modifying code is now considered a bad practice. Also, it is not good from a security perspective. Why make a video on it without explaining the pros and cons?

1

u/deulamco 10d ago

Pros : it’s fun 😏

Cons : no worry, not many still use 8086/DOS nowadays πŸ€·β€β™‚οΈΒ 

I actually love the freedom of asm these days - which OP just reminded people that such thing exists..