Sie sind auf Seite 1von 2

SCHOOL OF COMPUTING SCIENCE AND ENGINEERING

CSE 214- MICROPROCESSOR AND INTERFACING LAB


II YEAR-IV SEM- B.Tech (CSE)

ASSIGNMENT
1. (a) Write an ALP to add two 8-bit numbers using MASM.
(b) Write an ALP to subtract two 8-bit numbers using MASM.
(c) Write an ALP to multiply two 8-bit numbers using MASM.
(d) Write an ALP to divide two 8-bit numbers using MASM.
Outcome: e, k
2. (a)Write an ALP to add two 16-bit numbers by accepting input from the
user.
(b)Write an ALP to add two 32-bit numbers using MASM.
(c) Write an ALP to subtract two 32-bit numbers using MASM.
(d) Write an ALP to multiply two 32-bit numbers using MASM.
Outcome: e, k
3. (a) Write an ALP for BCD addition.
(b) Write an ALP for BCD subtraction.
Outcome: e, k
4. (a) Write an ALP for multi-byte addition of ten numbers
(b) Write an ALP for multi-byte subtraction of ten numbers.
Outcome: e, k

5. (a) Write an ALP to determine the factorial of a number.


(b) Write an ALP to determine nCr and nPr.
Outcome: e, k
6. (a) Write an ALP to determine the largest number in an array.
(b) Write an ALP to determine the smallest number in an array.
Outcome: e, k
7. (a) Write an ALP to calculate the GCD of two 16-bit numbers.
(b) Write an ALP to calculate the LCM of two 16-bit numbers.
Outcome: e, k
8. (a) Write an ALP to perform parity check on an 8-bit number.
(b) Write an ALP to determine the number of positive, negative, odd and even numbers in
an array of 'n' numbers.

Outcome: e, k
9. (a) Write an ALP to perform binary to BCD conversion.
(b) Write an ALP to perform binary to ASCII conversion
(c) Write an ALP to perform binary to excess 3 conversions.
(d) Write an ALP to convert a number from base ten to base 2.
Outcome: e, k
10. Write an ALP to perform multiplication of two matrices.
Outcome: e, k
11. Write an ALP to perform linear search on an array of 'n' numbers.
Outcome: e, k
12. Write an ALP to verify the password entered by a user.
Outcome: e, k
13. Write an ALP to determine if a string is a palindrome or not.
Outcome: e, k
14. Write an ALP to generate prime numbers in a given range.
Outcome: b, k

Das könnte Ihnen auch gefallen