Write this assembly assignment for me plaese The last rows after main ENDP Other
ID: 3771892 • Letter: W
Question
Write this assembly assignment for me plaese The last rows after main ENDP Other procedures i have to write END main Write an assembly language program that allows the user to enter a string of characters from the keyboard. The program should convert all lower case letters in the original string into upper case letters, and call the Encoding procedure. The program should display the result on the screen using an appropriate message. An example of a dialogue with the user is as follows Enter a string (Max. 60 characters) Good Morning Oman Your encoded string is: nccv 6c3sisn c65s Notes: You need to use the ReadString and WriteString procedures to read a string from the keyboard, and to display a string on the screen. . data OLDSTR BYTE 61 DUP (0) assume maximum string size of 60 NENSTR BYTE 61 DUP 0) ;adá any needed data definitions code main PROC : write your main procedure here main ENDPExplanation / Answer
PROGRAM TO CONVERT THE GIVEN LOWER LETTER STRING INTO UPPER LETTER STRING:
NAME DISPLAY_OF_LOWERSTRING_UPPERSTRING
ASSUME CS:CODE,DS:DATA
DATA SEGMENT
ORG 1000H
MESSAGE DB 'good morning oman'
COUNT DW 17
DATA ENDS
CODE SEGMENT
ORG 2000H
START: MOV AX,DATA
MOV DS,AX
MOV ES,AX
MOV SI,0
MOV CX,COUNT
AGAIN: MOV AL,MESSAGE[SI]
SUB AL,20H
MOV MESSAGE[SI],AL
INC SI
LOOP AGAIN
MOV AH,4CH
INT 27H
CODE ENDS
END START
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.