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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!