Question: need help for assembly language ask the user for 2 different numbers subtract them if the difference is zero, print the numbers are equal if

need help for assembly language

ask the user for 2 different numbers

subtract them

if the difference is zero, print the numbers are equal

if the difference is positive, print the first number is greater than the second

if the difference is negative, print the second number is greater than the first one.

TITLE Hello ME

INCLUDE Irvine32.inc

.data

myMessage BYTEHello,Greg,0dh,0ah,0

.code

main PROC

call Clrscr

call DumpRegs

medx,OFFSET myMessage

call WriteString

call DumpRegs

; Basic Math

;Extra Credit Input Data

exit

main ENDP

END main

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!