Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started