SD, LODSB, LODSW, and LODSD. It is required that for each question write only one proced
For this homework assignment you are not allowed to use::MOVSB, MOVSW, MOVSD, CMPSB,CMPSW,CMPD,SCASB, SCASW, SCASD,STOSB, STOSW, STOSD, LODSB, LODSW, and LODSD.
It is required that for each question write only one procedure that does the requested job. Only write the assembly part and avoid using directives.
DO NOT USE IRVINE'S LIBRARY.
Write a general-purpose program (only assembly code and no procedure call) that corrects two extra successive mistakenly entered characters that happened twice in a string. For example, in “Excellent time tooo listen to muuusic” program should remove the extra double oo and uu.
Here is a sample call:
. data
str1 BYTE “Excellent time tooo listen to muuusic”,0
.code
Trending now
This is a popular solution!
Step by step
Solved in 2 steps