i have to give an assembly code to my fellow. i want to convert my code into demo. so that he would not be able to burn my code into 8051 micro controller.....
Every code is "burnable". There's no such thing as "demo code". If you give your code to someone, that person will for sure be able to "burn" it into uC.
If you want to protect your code, give a programmed uC with lock bits set.