$ unzip /home/lperkovi/public/hw4.zipand move to newly created directory hw4:
$ cd hw4This directory contains files hw4.c and Makefile. Open file hw5.c for editing and do the homework:
$ emacs hw4.cWhen done, submit the homework as follows:
$ make submit1. Solve Problem 3.63 in BO. You solution should be an implementation of C function switch_prob(). Verify your solution by typing it up and compiling it on our class Linux VM
$ gcc -Og -o hw4 hw4.cand then viewing the generated assembly code using a disassembler:
$ objdump -d hw4 | less
2. Complete (at
least) phase 1 of your lab 4. There is nothing to submit for this
problem; I will check that you completed phase 1 by looking at
at 5:45pm on the homework due date.