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 ft wide and ft tall.
o Width is given in R
o Height is given in R
The weight wood is oz per linear ft
o Wood weight is given in R
The weight of the glass is oz per sqft
o Glass weight is given in R
Report the results of your calculations in following registers
a b c Amount of wood strip, in feet, required in R
Size of the glass sheet, in sqft required in R
Total weight of the window, in oz in R
Loadmove 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, sendprint a snapshot of KEIL to TA
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
