Question: Need help with these problems please! They must be done in assembly. Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with

Need help with these problems please! They must be done in assembly.
Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with the following VO (All calculations must be done in assembly) All variables are short type MENU 1. Drink$2 How many drinks? 3 How many sandwiches: 3 Your total bill $18 2. All sides are int type I width / hl length Enter the values of a,b,c, and h for the triangle: 4 6 9 10 Enter the length and the width of the rectangle: 15 10 Triangle .45 .19 Perimeter.. Rectangle Area ...150 Perimeter..50 Use the following formula for the temperature conversion: C-5(F-32)/9, C and F are type short Enter temperature in Fahrenheit:95 95 Fo is 35 C 4. Enter a 3 digit int number: 358 The total of digits in 358 is 16 Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with the following VO (All calculations must be done in assembly) All variables are short type MENU 1. Drink$2 How many drinks? 3 How many sandwiches: 3 Your total bill $18 2. All sides are int type I width / hl length Enter the values of a,b,c, and h for the triangle: 4 6 9 10 Enter the length and the width of the rectangle: 15 10 Triangle .45 .19 Perimeter.. Rectangle Area ...150 Perimeter..50 Use the following formula for the temperature conversion: C-5(F-32)/9, C and F are type short Enter temperature in Fahrenheit:95 95 Fo is 35 C 4. Enter a 3 digit int number: 358 The total of digits in 358 is 16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
