Question: INCLUDE asmLib.inc yearlyBalance PROTO . data promptBalance BYTE Enter your balance , 0 promptRate BYTE Enter the interest rate ( like 5 . 0
INCLUDE asmLib.inc
yearlyBalance PROTO
data
promptBalance BYTE "Enter your balance
promptRate BYTE "Enter the interest rate like
promptYears BYTE "Enter the number of years
balance REAL
rate REAL
term REAL
code
main PROC
mov edx, OFFSET promptBalance
call writeLine
call readFloat
fstp balance
mov edx, OFFSET promptRate
call writeLine
call readFloat
fstp rate
mov edx, OFFSET promptYears
call writeLine
call readInt
mov term, eax
fld balance
fld rate
fld term
call yearlyBalance
exit
main ENDP
END main I need help creating a yearlyBalances PROC. I have to calculate adjusted balances. The output should look like this Enter your balance
Enter the interest rate like
Enter the number of years
Year: : $
Year: : $
Year: $
Year: : $
Year: : $
Year: : $
Year: : $
Year: : $
Year: : $
Year: : $
Press any key to continue It is really important balance, rate, and term are passed on the floatingpoint stack. adjusted balance initial balance interest. and interest balance rate
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
