Good afternoon request help with this program, whenever I run the… Good afternoon request help with this program, whenever I run the code it prints out all of the messages at once instead of one at a time and waiting for the user’s input. Request how to get the program to output the first question wait for users input and then proceed through next steps?OUTPUT:*********************************************************************************************************Image transcription text: C:WINDOWSsystem32cmd.exe – “C:IrvineProject32_VS2022DebugProject.exe” X C:Userssamue>”C: IrvineProject32_VS2022DebugProject. exe” Please enter the amount ofmoney made per job: The total amount of money made is: $The total amount of taxes owed is: $T … Show more… Show more******************************************************************************************************** CODE:****************************************************************************************************** ; This program calculates yearly earnings and owed taxes.INCLUDE Irvine32.inc.data msg1 db “Please enter the amount of money made per job: “, 0 ; lines 5 – 10 declare double byte msg msg2 db “The total amount of money made is: $”, 0 ; variables for output to the user msg3 db “The total amount of taxes owed is: $”, 0 msg4 db “The amount of taxes owed per job is: $”, 0 msg5 db “The amount of federal taxes owed is: $”, 0 msg6 db “The amount of state taxes owed is: $”, 0.codemain PROC ; beginning of startup procedure mov edx, offset msg1 ; adds the address location of msg1 to edx register call WriteString ; outputs msg1mov ecx, 0 ; stores value 0 in ecx register L1: ; marks beginning of loop 1 which adds 1 to ecx register and outputs msg2-msg6 add ecx, 1 ; adds the value 1 to ecx register mov edx, offset msg2 ; adds the address location of msg2 to edx register call writestring ; outputs msg2 mov edx, offset msg3 ; adds the address location of msg3 to edx register call writestring ; outputs msg3 mov edx, offset msg4 ; adds the address location of msg4 to edx register call writestring ; outputs msg4 mov edx, offset msg5 ; adds the address location of msg5 to edx register call writestring ; outputs msg5 mov edx, offset msg6 ; adds the address location of msg6 to edx register call writestring ; outputs msg6 mov eax, 0 ; lines 33 – 37 stores the value 0 in each register mov ebx, 0 mov edx, 0 mov esi, 0 mov edi, 0 fldz ; L2: ; marks beginning of loop 2 call readint ; reads input integer cmp eax, 0 ; compares input integer value to zero jl L3 ; jumps to label L3 if input is less than zero fadd dword ptr [eax] ; if input is not less than zero adds input value to stack L3: ; marks beginning of loop 3 takes input value from the stack fstp dword ptr [esi] ; pops top value of stack and stores 32-bit memory location pointed to by esi mov eax, 18 ; moves value 18.5 to eax mov ebx, 100 ; moves value 100 to ebx mul ebx ; multiples ebx by eax (18.5 * 100) and stores in eax div ecx ; divides eax by ecx (1850 / 100) and stores in eax mov edx, eax ; moves eax into edx, edx now holds (1850 / 100) mov eax, esi ; moves input value address into eax add eax, edx ; adds edx to input value and storing in eax (1850/100 + input value) mov edx, 8 ; moves value 8.75 to edx mov ebx, 100 ; moves value 100 to ebx mul ebx ; multiples ebx by edx (18.75 * 100) div ecx ; divides edx by ecx (875 / 100) and stores in edx add eax, edx ; adds edx to eax (875 / 100 + input value + tax calculation) mov edx, eax ; moves eax to edx (input value + tax____ + tax _____) to edx mov esi, eax ; moves eax to esi (input value + tax_____ + tax ____) fld dword ptr [esi] ; loads 32-bit value esi is pointing to onto the FPU stack fadd dword ptr [edi] ; adds (input value + tax_____ + tax ____) to value pointed to by edi and storing result in edi fstp dword ptr [edi] ; pops top value off FPU stack and stores in 32-bit memory location pointed to by edi jmp L1 ; jumps back to label 1 L4: ; marks beginning of loop 4 mov eax, 0 ; stores the value of 0 in eax ret ; ending of loop procedures returns back to main method main ENDP ; end of startup procedureend main ; end the****************************************************************************************************Thank youEngineering & Technology Computer Science CSCI 3001
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more