I need a computer scientist expert for an assembly language and c++ programming project.
$30-250 USD
Completed
Posted about 3 years ago
$30-250 USD
Paid on delivery
PROBLEM 1:
Modify the code in the [login to view URL] file so that the assembly program will:
Present 2 dialog boxes that ask a user to input a number
(User validation is not required)
Once the two numbers are input, perform the following calculation:
(3X + 4Y)/ 2, where X is the first number entered by the user and Y is the second number entered by the user.
Display both the quotient and remainder using 2 output message boxes.
Put the quotient in one message box and the remainder in a separate message box.
• FIRST: create a UML activity diagram like below:
The UML activity diagram will show the flow of the modified [login to view URL] program.
The expectations for the UML are shown in the grading rubric.
• When writing your code, use Visual Studio and the debugging techniques. To facilitate reading, use the indent style shown in example and course material. Input/output labels and variables should be named based on functionality to help make their purpose intuitive.
For only the file modified ([login to view URL]), include a header that contains a brief program description.
Include comments with your assembly code to explain why key operations are being performed
Documentation showing the dialogue box with the user’s input and that the input was stored in the desired variable correctly.
Documentation that the calculations were performed correctly. This can be done by showing registers to demonstrate that:
➢ X was correctly multiplied by 3
➢ Y was correctly multiplied by 4
➢ 3X + 4Y were correctly added
➢ The sum was correctly divided by 2.
o Show the two messages boxes: one for the quotient and one for the remainder.
Here is the supplied [login to view URL] code:
; Example assembly language program -- adds two numbers
; Author: R. Detmer
; Date: 1/2008
.586
.MODEL FLAT
INCLUDE io.h ; header file for input/output
.STACK 4096
.DATA
number1 DWORD ?
number2 DWORD ?
prompt1 BYTE "Enter first number", 0
prompt2 BYTE "Enter second number", 0
string BYTE 40 DUP (?)
resultLbl BYTE "The sum is", 0
sum BYTE 11 DUP (?), 0
.CODE
_MainProc PROC
input prompt1, string, 40 ; read ASCII characters
atod string ; convert to integer
mov number1, eax ; store in memory
input prompt2, string, 40 ; repeat for second number
atod string
mov number2, eax
mov eax, number1 ; first number to EAX
add eax, number2 ; add second number
dtoa sum, eax ; convert to ASCII characters
output resultLbl, sum ; output label and sum
mov eax, 0 ; exit with return code 0
ret
_MainProc ENDP
END ; end of source code
Greetings
I have previously worked on X86,X64 DOSBOX 8086,FASM,Newtide Assembler , GNU for assembly language and developed different games in assembly language.
I have also vast experience in C/C++/C # languages.
I will be the best choice for your project.
Feel free to contact so we can discuss in detail about the project.
Regards
Shabih Ul Hassan
$140 USD in 2 days
4.9 (50 reviews)
5.1
5.1
2 freelancers are bidding on average $105 USD for this job
Hi Dear,
I read your description carefully.
I know what you want well.
My experience of developing projects with C++ is over 5+ years.
I will finish this project with the best quality.
If you will work with me at this time, it will be a great pleasure to you.
I hope your kind reply.
Best Regards.
Ching Z.