1 # Add 3 and 4, and return the result in the exit code. 2 # 3 # To run: 4 # $ ./translate ex2.mu 5 # $ ./a.elf 6 # Expected result: 7 # $ echo $? 8 # 7 9 10 fn main -> _/ebx: int { 11 var result/eax: int <- do-add 3 4 12 return result 13 } 14 15 fn do-add a: int, b: int -> _/eax: int { 16 var result/ecx: int <- copy a 17 result <- add b 18 return result 19 }