Question: I need answers for 1 and 2 and 3 Assignment #3 Q1) Write a sequence of instructions using LODSB and STOSB that copy each character

I need answers for 1 and 2 and 3
Assignment #3 Q1) Write a sequence of instructions using LODSB and STOSB that copy each character from X string Y string, converting it to lowercase in the process. Note: setting bit 5 in an uppercase character will convert it to lowercase X DB "ABCDEFGHI" Y DB LENGTHOF X DUP(0) Q2) Write an assembler codes to accept X string from key board; and to replace space character in string X by * character, and print String X on the screen on position (20,50). Assume maximum length of X string =20 characters. Q3) trace the following assembler codes: X DB "TRACE*ME' CLD MOV AH,0 MOV CX,8 LEA DI,X MOV AL,"*" REPNE SCASB MOV SI,DI L: LODSB PUSH AX LOOP L POP DX POP BX AX= BX= DX= CX=
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
