VNA: Conditional Jumps

Content

Update the ULM simulator

Change into the directory that contains ulm.cc (cloned from github in the previous session). Then update the source code for the simulator:

thales$ pwd
/home/numerik/hpc/ss18/sessions/session01/ulm
thales$ git pull
Already up-to-date.
thales$ 

Note that this will also download or update the ULM assembler (consisting of ulmas_label.awk and ulmas_codegen.awk). You will need the assembler for the next session.

If you don't get a message that the source code of ulm.cc was up-to-date you need to re-compile with

thales$ g++ -Wall -std=c++11 -o ulm ulm.cc
thales$ 

Exercise

Verify the you correctly predicted the execution of the programs foo1.ulm and foo2.ulm: