CS Pyq
CS Pyq
1. Write a A.L.P Program to copy block of data starting from 4500H to new memory
location starting from 4600H . The length of block is stored at memory location 44FFH.
2. Write a A.L.P Program to Add two 8-bit BCD no.’s stored at memory location 4500H
to 4501H. Result stored at memory location 4502H.
3. Write a A.L.P Program to Fill a memory location 4500H to 4504H with Hexadecimal
no.’s 09H to 0dH. {Filling of Number’s}
4. Write a A.L.P Program to count the occurrence of the data byte AC H in memory
block stored from 7401H to 7405H store the count at memory location 7406H.
5. Write a A.L.P Program to count no.’s of even and odd from block of data starting
from memory location 9201H to 920AH the result stored at 9500H.
6. Write a A.L.P Program to find Sum of 10 hexadecimal no.’s stored the result at
consecutive memory location that starting from 4000H. Store the result at end of
block beginning with L.O.B-[Lower Order Byte].
7. Write a A.L.P Program to search and count the no.’s of 09H from memory location
starting from C3FFH block of memory is C400H. Result store at consecutive memory
location.
9. Write a A.L.P Program to separate the two nibbles of an 8-bit no. stored at 7501H
stored the low-order nibble & high order nibble at 7502H and 7503H.
10. Write a A.L.P Program to convert hexadecimal digits into decimal digit.
11. Write a A.L.P Program to double the content of each memory location block of
memory 1220H to 1230H store the result at same memory location.
12. Write a A.L.P Program to find the no.’s of Finonacci Series upto 8 th terms.