Question: CS3B RASM1 Input Data CalculateWrite a well-documented program which will perform the below calculations after inputting 4 variables.X = (A + B) (C + D)
CS3B RASM1 Input Data CalculateWrite a well-documented program which will perform the below calculations after inputting 4 variables.X = (A + B) (C + D) where A, B, C, D are all words that are input by the user at run time. Name the program RASM1.sWhen your program executes the below should be displayed (note indentation). I have bolded and underlined the information typed to either execute the program or to input the data values.pi@raspberrypi:~/Documents/ CS 3B/RASM1 $ ./RASM1 Name: your name Class: CS 3B Lab: RASM1 Date: 8/23/2018 Enter a whole number: 100 Enter a whole number: 200Enter a whole number: 300Enter a whole number: 400(100 + 200) (300 + 400) = -400 The addresses of the 4 ints: 00404010 00404014 00404018 0040401C pi@raspberrypi:~/Documents/ CS 3B/If I ran the program a second time, entering different valuesName: your name Class: CS 3B Lab: RASM1 Date: 8/23/2018 Name: your nameClass: CSCI 2160 Lab: Proj1 Date: 9/22/2016 Enter a whole number: 120000Enter a whole number: -25000000 Enter a whole number: -380 00000Enter a whole number: 2140387654 (120000 + -25000000) (-38000000 + 2140387654) => -2127267654
The addresses of the 4 ints: 00404010 00404014 00404018 0040401C pi@raspberrypi:~/Documents/ CS 3B/Upload all of the files .s files associated with this project (source code) along with a screen shot of the running the program with the above 2 listed sets of data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
