Question: Write a SIC assembly program to implement the following calculation: If a>b, y-a+b else y-a*b You can assume y, a and b are variables. Result

Write a SIC assembly program to implement the following calculation: If a>b, y-a+b else y-a*b You can assume y, a and b are variables. Result will be saved in y. (Hint: use instructions COMP, JLT/JGT, and location labels)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
