/** This is some simple examples of control flow that we will use to examine how we handle higher-level control flow in a low level language that only provides branches. To compile: gcc -S 11-controlflow.c -Og C. Andrews 2016-03-21 **/ int simpleConditional(int x, int y){ int result; if (x > y){ result = x - y; }else{ result = y - x; } return result; } int simpleLoop1(int x, int y){ int result = 0; do { result += x; y--; }while(y > 0); return result; }