Computer science 2 Practical Program no.19
This video presents a Computer Science 2 practical program for checking whether a given sequence in memory is a palindrome using Assembly Language (8085/8086). The program includes:
Initializing the starting address and size of the data block (string or number sequence)
Using two pointers: one pointing to the beginning and the other to the end of the memory block
Comparing corresponding bytes from both ends using a loop
Continuing the comparison toward the center of the block
Determining whether the sequence is a palindrome based on the comparisons
Displaying or storing the result (palindrome or not)
This practical enhances students’ understanding of memory addressing, looping, conditional branching, and logic building in microprocessor programming.
Видео Computer science 2 Practical Program no.19 канала Study Net
Initializing the starting address and size of the data block (string or number sequence)
Using two pointers: one pointing to the beginning and the other to the end of the memory block
Comparing corresponding bytes from both ends using a loop
Continuing the comparison toward the center of the block
Determining whether the sequence is a palindrome based on the comparisons
Displaying or storing the result (palindrome or not)
This practical enhances students’ understanding of memory addressing, looping, conditional branching, and logic building in microprocessor programming.
Видео Computer science 2 Practical Program no.19 канала Study Net
Комментарии отсутствуют
Информация о видео
31 мая 2025 г. 18:20:26
00:04:38
Другие видео канала