Example 11. C Code Compiled for 16-BIS State: sum( )

int total = 0; sum(int val1, int val2) { int val = max(val1, val2); total += val; }