Finalizat

I need a computer scientist expert for an assembly language and c++ programming project.

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

Aptitudini: Computer Science, x86/x64 Assembler, Programare C++

Vezi mai multe: i need a polish sign language interpreter, i need a programmer that knows c 11, i need an expert in english language that would help to grade my essay test, i need an expert in formatting word documents in australia, i need an expert on whmcs to make a very simple job, i need an expert, i need excel expert, i need seo expert for my, i need seo expert, urgent i need an expert on grasshopper, www i need an expert to write my speech com, i need a british sign language interpreter agency in wokingham berkshire, i need an expert in facebook, i need an expert modeler, i need an expert to build a website, i need an expert to fix my wordpress website quotes, i need an expert to help me with facebook concerns, i need an expert to teach me structural design softwares in abuja, i need somebody to do some computer programming for me, i want to know and understand c programming language online

Despre angajator:
( 1 părere ) Laramie, United States

ID Proiect: #29913552

Acordat lui:

shabih2468

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 wil Mai multe

%selectedBids___i_sum_sub_7%%project_currencyDetails_sign_sub_8% USD în 2 zile
(50 Recenzii)
5.1

2 freelanceri licitează în medie 105$ pentru acest proiect

ZShuChing

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 Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0