Class Program 06 Write an Assembly Language program that will ask the user for a string. Your program will determine if the string is a palindrome or not and display it to the user. In-class...

1 answer below »
do the inclass assignment 04 and use example code for class program. use icla04 file to answer and coding


Class Program 06 Write an Assembly Language program that will ask the user for a string. Your program will determine if the string is a palindrome or not and display it to the user. In-class Assignment4 Write an assembly language program to compare the contents of two memory locations of the same length. The length of the memory is given to you in another location called LENGTH. Your program will compare both the arrays and finally display to the user whether they are identical or not. LENGTH0xA ARRAY10x5, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0x9; First Array ARRAY20x5, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xA; Second Array A sample run for the above sets of data is:
Answered Same DayApr 22, 2021

Answer To: Class Program 06 Write an Assembly Language program that will ask the user for a string. Your...

Pulkit answered on Apr 23 2021
143 Votes
; File: ICLA04-main.s
    EXPORT    main        ; this line is needed to interface with init.s
    IMPORT    GetCh        
; Input one ASCII character from the UART #1 window (from keyboard)
    IMPORT    PutCh        ; Output one ASCII character to the UART #1 window
    IMPORT    PutCRLF        ; Output CR and LF to the UART #1 window
    IMPORT    UDivMod        ; Perform unsigned division to obtain quotient and remainder
    IMPORT    GetDec        ; Input a signed number from the UART #1 window
    IMPORT    PutDec        ; Output a signed number to the UART #1 window
    IMPORT    GetStr        ; Input a CR-terminated ASCII string from the UART #1 window
    IMPORT    PutStr        ; Output null-terminated ASCII string to the UART #1...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here