| | |
Assembly program need help
![]() |
•
•
Join Date: Dec 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello , im a very new to programming and i have a Question please.
i must write a program in Assembly the Question is :
"after giving a maximum of 30 positive numbers the program must output if the given number (Sequence) is a palindrome or not.( intering "0" or the thirty number - stop condition = output palindrome or not palindrome)."
please help with the Algorithm and the program code...
thanks
i must write a program in Assembly the Question is :
"after giving a maximum of 30 positive numbers the program must output if the given number (Sequence) is a palindrome or not.( intering "0" or the thirty number - stop condition = output palindrome or not palindrome)."
please help with the Algorithm and the program code...
thanks
hi,
assume that u store the sequence in array A,, i think u can do that by declare another array,let it be A,,
and then reverse the sequence of numbers and store them in this array
and cmpr the two arrays
if the two arrays are identical, then the result of cmpr is 1,the sequence is palindrome.
hope to be usefull
assume that u store the sequence in array A,, i think u can do that by declare another array,let it be A,,
and then reverse the sequence of numbers and store them in this array
and cmpr the two arrays
if the two arrays are identical, then the result of cmpr is 1,the sequence is palindrome.
hope to be usefull
![]() |
Similar Threads
- Assembly or C++ for a Beginner? (IT Professionals' Lounge)
- Assembly Programming on Dual Core (Assembly)
- How to run assembly program? (Assembly)
- Assembly is used for? (Assembly)
- sort program assembly (Assembly)
- I Need Assembly help w/reversing strings (Assembly)
- Assembly Programming Question (Assembly)
Other Threads in the Assembly Forum
- Previous Thread: reading from a file in assembly
- Next Thread: Porting assembly code in to Mobile based application
| Thread Tools | Search this Thread |






