Question: 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

 Assignment #3 Q1) Write a sequence of instructions using LODSB and

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 Y DB "ABCDEFGHI" 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. (3) 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= 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 Y DB "ABCDEFGHI" 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. (3) 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!