Content deleted Content added
No edit summary |
No edit summary |
||
Line 11:
==Example DOS-program==
%!!%BB-
The text above will, when interpretended by an [[x86]] [[CPU]] using the [[DOS]] operating system [[self-modifying_code|overwrite parts of itself]] with a code used to terminate the execution of the program, and return back to DOS. Just copy the text into an pure text editor (for example edit.exe in DOS or notepad in Windows), save the file and then rename it to "something.com". To execute the program, just type "something" in a DOS command shell.
|