Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

=+8.4. Show that B 8 [W] k-0 n=1m=1 A-1

Answered: 1 week ago