I am passing 2 integers from C program to 8086 assembly subroutine and i am doing division operation in the subroutine using DIV function. I dont know how to return the quotient and remainder values from the subroutine to the C Program

Help me please

>I dont know how to return the quotient and remainder values from the subroutine to the C Program
If you provide the code you're using and tell us what assembler and C compiler you're trying to interface, we can do a better job of helping you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.