Загрузка...

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
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять