Page 1 of 1

Complete + correct the following code for replacing the * ( stars ) in string X with spaces X DB ‘ABC*+GFDK**KLM’ Y D

Posted: Sat May 14, 2022 3:10 pm
by answerhappygod
Complete + correct the following code for replacing the * (
stars ) in string X with spaces
X DB
‘ABC*+GFDK**KLM’
Y DB ‘ABC
+GFDK KLM’
CLD
LEA
SI,X
LEA
DI,Y
Mov
Cx,14
L:CMPSB
LOOPE
L
CMP
Cx,0
JZ
L2
DEC
DI
DEC
SI
Mov
[DI], ‘ ‘
Mov
[SI], ‘ ‘
JMP
…….