Question: A window maker wants to use his computer for his work calculations. Window maker wants to know the material he will need and the weight

A window maker wants to use his computer for his work calculations. Window maker wants to
know the material he will need and the weight of window. Window maker ask you to write a
program an ARM Assembly Language program for him (you may ignore any wastage in
material). Calculation will be done for a window of a particular size, given by the window
maker.
- He wants to know how much wood strip he will need for the sizes.
- He also wants to know the size of the glass sheet he will need for the window.
- He also wants to know the weight of the window.
Programming details
As an example, window maker wants your computer program to do calculations for the window
given below.
- Size of the window is 3 ft wide and 5 ft tall.
o Width is given in R9
o Height is given in R10
- The weight wood is 2 oz per linear ft.
o Wood weight is given in R11
- The weight of the glass is 8 oz per sqft.
o Glass weight is given in R12
Report the results of your calculations in following registers
a) b) c) Amount of wood strip, in feet, required in R5
Size of the glass sheet, in sqft, required in R6
Total weight of the window, in oz, in R7
Load/move the values for width, height, wood weight, glass weight in proper registers.
You may use any other registers for your calculations.
If you DONT comment your
program, dont complain if TA
does not understand it.
After you STOP your program running, send/print a snapshot of KEIL to TA.

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 Programming Questions!