One of my introductory CS classes was using an old DOS program for the students to learn the fundamentals. (Later classes required learning the full MASM.)

I ended up rewriting the execution environment in Javascript to help me write my own programs, and I thought it would be easier for students to use.