- To find Odd No or Even No:
Write an ALP to find given number is odd or even and load number in 4000H memory location the result stored in 6000H. If even, store 22H at memory location 6000 otherwise store 11H at memory location 6000.
- Data transfer memory to memory:
Write an ALP to 16 bytes of data stored in memory locations at 2000H to 200FH. Transfer the entire block of data to new memory locations starting at 4000H.
- To Perform Multiplication without using MUL instruction:
Write an ALP to perform multiplication of two numbers without using MUL instruction first & second number stored in 4000H & 4001H memory locations respectively and the result stored in 6000H?
- To Perform Division without using DIV instruction:
Write an ALP to perform division of two numbers without using DIV instruction first & second number stored in 4000H & 4001H memory locations respectively and the result stored in 6000H?
- To find average of 5 Numbers:
Write an ALP average of 5 numbers takes the numbers from 4000H to 4004H location and store the result in 4005H?
- To Perform PUSH without using PUSH instruction:
Write an ALP if there is no PUSH instruction and implement same with two instructions which perform same operation as PUSH B?
- Count No. of 1’s:
Write an ALP count no. of 1’s and load number in 4000H memory location the results stored in 6000H?
- To Perform power of 2:
Write an ALP to find the given number is power 2 and load number in 4000H memory location the result stored in 6000H? (If given no is power of 2, store 22H at memory location 6000