1. Log into codeanywhere.com and turn on VM 2. Install sdcc, sdcc-ucsim with command 'sudo apt-get install sdcc sdcc-ucsim' 3. Open three terminal sessions (by clicking with right mouse button on your VM and select 'SSH Terminal') #Following steps should be executed in the first terminal: 4. Download archive '8051.zip' from url 'http://www.cs.put.poznan.pl/mantczak/datastore/media/ics/8051.zip' using command 'wget http://www.cs.put.poznan.pl/mantczak/datastore/media/ics/8051.zip' 5. Unzip 8051.zip using command 'unzip 8051.zip' 6. cd 8051 7. Create two pseudo-terminals that emulate serial port using command 'socat PTY,link=./tty1 PTY,link=./tty2' #Following steps should be executed in the second terminal: 8. cd 8051 9. cat ./tty2 #Following steps should be executed in the third terminal: 10. cd 8051 11. Set privileges for the first example files using command 'chmod u+x compile-hello.sh run-hello.sh' (to test the other examples you should also change the corresponding file privileges using the following command 'chmod u+x compile-timer.sh run-timer.sh' or 'chmod u+x compile-eos.sh run-eos.sh') 12. Compile the first example using command './compile-hello.sh' (to compile the other examples you should use the corresponding commands: './compile-timer.sh' or './compile-eos.sh') 13. Run 8051 simulator (uCsim) with command './run-hello.sh' (to execute the other examples you should use the corresponding commands: './run-timer.sh' or './run-eos.sh') 14. Execute program simulation with command 'run' (ie. '0> run' + Enter) 15. The output of the executed program will be presented in the second terminal 16. To terminate simulation use Ctrl + C #At the end of the work remember 17. To terminate serial port emulation executed previously in the first terminal use Ctrl + C 18. To terminate serial port view executed previously in the second terminal use Ctrl + C 19. Please, analyse and try to understand the source code of the example programs