You are writing an Intelx86 assembly language program that takes the length and width of a field and calculates the cost of grass seed needed to cover the entire field.
Take the following approach:
• In the data section, declare three variables called lengthFeet, widthFeet, and totalCost; all initialized to 0.
• Declare another variable called costPerSqrFoot and set it to 10 to signify that the cost of one square foot of seed costs 10 dollars.
• Create a mathematical expression that will calculate the cost to seed the whole field.
• In the code section, use the general registers (eax, ebx, ecx, and edx) as well as any add and/or mulcommands that would use the expression that you wrote and calculate the final total in square feet.
• At the end of the program, use the mov command to move the final value to totalCost.
a Copy-paste the code that you’ve written into this section: