Question: I need report must have assembly code and its description , and screen shots or images of the emulator output, if you cant make report

I need report must have assembly code and its description , and screen shots or images of the emulator output, if you cant make report gave some information and description about this topic.

***Write a program in assembly language that defines two variables X and Y in the data segment and find the result of the following equation, then store it in R variable. X, Y, and R are data byte length.

R= ( (X* 5) - (Y*3)+X )/2

Example of segment definition (structure of assembly code):

.model small

.data

A db 5 ; define a byte variable named A

B dw 100 ; define a word variable named B

.code

.startup

; write your code here

End

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!