I got inspired by the disassembly feature so I tried to make my own.
The program's goal is to print the contents of the RAM.
The program gets compiled but does not work. It says 'ram.exe has stopped working correctly. Windows is checking for a solution'.
Is it due to the protected mode or is there any fault in the code ?
Here's the code :
AFAIK, you can't really do this. The OS isn't going to allow to just invade parts of RAM that isn't your programs. I could be wrong though, and I'm sure someone will correct me lol