Map an Expression to Arithmetic Instructions
EasyFinish the evaluate function so it returns (a * b) - (a + b). The program prints evaluate(6, 7), evaluate(10, 2), and evaluate(4, 4). Once your output is correct, read the assembly panel and find the three arithmetic instructions that carry out the work: imul for the multiplication, add for the sum, and sub for the subtraction.
Success Criteria
Your code must pass 1 test case(s) to complete this exercise. 3 hint(s) are available if you need help.
Sign in to track your progress
You can work on exercises as a guest, but sign in to track your progress and save your submissions.