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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
…….
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply