Question: Microprocessors (CSE) This questions are designed on the basic of microprocessors and EMU 8086 [THIS CODE SHOULD BE IN ASSEMBLY LANGUAGE] Q1. Input Student ID(16201049)

Microprocessors (CSE)

This questions are designed on the basic of microprocessors and EMU 8086 [THIS CODE SHOULD BE IN ASSEMBLY LANGUAGE]

Q1. Input Student ID(16201049) and print it using STACK operations. Implement this using MACRO/PROCEDURE.

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.

Microprocessors (CSE) This questions are designed on the basic of microprocessors and

Q4. Take an array of size n, then taking input from the user, sort the array in the ascending and descending order. (FOR ID (16201049), do the ascending, and ID(17101124) do the descending).

Q5. Write a program that prints the number of consonants found in a given string.

A sample is given below: Given String: umbrella

Number of consonants: 5

Q6. Write an assembly program to print the following pattern below. Assume that all inputs are single character numbers. Hardcoding the pattern inside your code will yield 0 marks.

EMU 8086 [THIS CODE SHOULD BE IN ASSEMBLY LANGUAGE] Q1. Input Student

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. Input Output Input Output *** ****

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!