0% found this document useful (0 votes)
33 views1 page

Unit 4

The document contains a series of questions and tasks related to assembly language programming (ALP) and algorithms, focusing on operations with 8-bit and 16-bit numbers, string manipulation, and array processing. It includes flowchart requests, ALP for addition, multiplication, BCD conversion, and counting operations. The questions are categorized into 2, 4, and 6 marks, indicating their complexity and depth.

Uploaded by

csmss789
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Unit 4

The document contains a series of questions and tasks related to assembly language programming (ALP) and algorithms, focusing on operations with 8-bit and 16-bit numbers, string manipulation, and array processing. It includes flowchart requests, ALP for addition, multiplication, BCD conversion, and counting operations. The questions are categorized into 2, 4, and 6 marks, indicating their complexity and depth.

Uploaded by

csmss789
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

2 Marks Question

1. Draw flowchart for multiplication of two 16 bit numbers.


2. Write an ALP to add two 8 bit numbers.
3. Write ALP for addition of two 8 bit numbers. Assume suitable data.
4. What is the use of REP in string related instruction?
5. Write algorithm to find sum of a series of numbers.

4 Marks Question

6. Write an ALP to add two 16-bit numbers.


7. Write an assembly language program to add BCD numbers in an array of
10 numbers. Assume suitable array. Store the result at the end of the array
8. Write an assembly language program for conversion of BCD to Hexe number
9. Write an ALP to find length of string.
10. Write an ALP to count no. of 0’s in 16 bit number.
11. Write an ALP to find largest number in array of elements 10 H, 24 H, 02 H, 05 H,
17 H
12. Write an ALP to multiply two 16 bit signed numbers.
13. Write an ALP to count odd numbers in the array of 10 numbers
14. Write an ALP to find largest number in the array.
15. Write an ALP to count number of ‘0’ in 8 bit number.
16. Write on ALP to count the number of positive and negative numbers in array.
17. Write ALP to find the sum of series. Assume series of 10 numbers.
18. Write an ALP to count ODD and EVEN numbers in array.
19. Write an ALP to perform block transfer operation of 10 numbers.
20. Write an ALP to perform 32 bit by 16-bit division of unsigned numbers.
21. Write an ALP to count number of ‘1’ in 16-bit number.
22. Write an ALP to find the smallest number in the Array.
23. Write an assembly language program to arrange the numbers in ascending order
(Assume suitable data).
24. Write an assembly language program to Count No. of 1’s in a 16-bit number.

6 Marks Questions

25. Write an ALP to reverse a string. Also draw flowchart for same.
26. Write an ALP to arrange numbers in array in descending order.
27. Write an ALP for concatenation of two strings. Draw flowchart and assume suitable
data.

You might also like