Question: Please solve questions 2 and 3 in assembly language for emu 8086.Thanks in Advance Q2. Write a MACRO to find the maximum and write a

Please solve questions 2 and 3 in assembly language for emu 8086.Thanks in Advance

Please solve questions 2 and 3 in assembly language for emu 8086.Thanks

Q2. Write a MACRO to find the maximum and write a PROCEDURE to find the minimum between three numbers. You have to do it in a single code file. Sample execution: User input: 2 3 4 Output: Maximum number is 4 Minimum number is 1 Q3. Write a program that determines whether a number is divisible by the sum of its digits or not. If divisible, then print YES else print NO. Input: 123 Input: 12 Output: NO Output: YES Here: Sum of 1+2+3 = 6, and 123 is not divisible by 6. In the case of 12, the sum of 1+2 = 3, and 12 is divided by 3. So, implement the logic and write the code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets address both questions one by one Q2 Macro for Maximum and Procedure for Minimum Well define a ... View full answer

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!