Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions