The program develops a Palindrome checker application. // The input to the program is a 5 digit
Fantastic news! We've Found the answer you've been seeking!
Question:
The program develops a Palindrome checker application.
// The input to the program is a 5 digit integer A and is stored in RAM[0] (R0).
// A helper value of 10 is stored in RAM[8] (R8) by virtue of the tst file command.
// Number A is a positive integer.
// A has exactly 5 digits and no more no less.
// Program functions as follows:
// Extract the individual digits from number A and store them in R2-R6 registers in that order.
// Result of 1 is stored in R1 if the number A is a Palindrome else result of 0 is stored in R1
Image is the .tst file for the correct answers to be tested against the .asm file.
Related Book For
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord
Posted Date: