MICROPROCESSOR SYSTEMS AND INTERFACING LABORATORYCONSOLIDATED PROGRAMS LIST – 2010 BE 3/4 CSE-1 & CSE-2 – I SEMESTER 1. 8-bit addition using immediate and direct addressing modes 2. 8-bit subtraction using immediate and direct addressing modes 3. 16-bit addition using immediate and direct addressing modes 4. 16-bit subtraction using immediate and direct addressing modes 5. Addition of 3 different 8-bit numbers using immediate mode 6. Addition of 3 different 16-bit numbers using direct addressing mode. 7. Swapping of 2 different 16-bit numbers using XCHG instruction in direct addressing mode 8. Swapping of 2 different 16-bit numbers using only 1 temporary register & without using XCHG instruction , in direct addressing mode 9. Swapping of 2 different 16-bit numbers using any 2 temporary registers & without using XCHG instruction in direct addressing mode 10. 8-bit multiplication in immediate & direct addressing modes 11. 16-bit multiplication in immediate & direct addressing modes 12. 16-bit division in immediate & direct addressing modes 13. 32-bit division in immediate & direct addressing modes 14. 32-bit addition in immediate & direct addressing modes 15. 32-bit subtraction in immediate & direct addressing modes **NOTE : From program number 16 to 23 , all programs should be done in direct addressing mode only. 16. Sum of N 8-bit numbers in an array 17. Average of N 8-bit numbers in an array 18. Factorial of an given any 8-bit number 19. Counting the given 8-bit numbers in an array 20. Bubblesort for 8-bit numbers in Descending order 21. Bubblesort for 8-bit numbers in Ascending order 22. Packed BCD addition for bytes (i.e., for 2-digit numbers eg.:- 36+89) 23. Packed BCD addition for words (i.e., for 4-digit numbers eg.:- 4336+1289) 8086 MASM Programs : 1. 8-bit subtraction 2. 16-bit addition 3. 32-bit addition 4. 32-bit subtraction 5. 8-bit multiplication 6. 16-bit multiplication 7. 16-bit division 8. 32-bit division 9. Addition of 3 different 16-bit numbers. 10. Swapping of 2 different 16-bit numbers using XCHG instruction. 11. To find sum of N 16-bit numbers in an array 12. Average of N 16-bit numbers in an array 13. Factorial for any given 8-bit number 14. Packed BCD addition for words (i.e., for 4-digit numbers eg.:- 4336+1289) 15. To find the largest number in an array of 8-bit numbers 16. Counting the given 16-bit numbers in an array 17. To find the length of given string 18. To print the given character string 19. To convert the given 16-bit hexadecimal number to it’s equivalent decimal format 20. To perform screen and keyboard processing 21. To create an file and write the given data into that file 22. To append the given data to an existing file 23. To copy the data from one file to another file. |