Question: using assembly language write a program to calculate the length of string in this photo belew which is the string is ABCDEFGH please be

using assembly language write a program to calculate the length of string in this photo belew which is the string is " ABCDEFGH"
please be quick i have no time
 using assembly language write a program to calculate the length of

DATA1 DB 'ABCDEFGH' mov di,OFFSET DATA1 mov al, 'F' MOV CX,08 cld ; DI points to the string ; search for the letter F repne scasb jnz quit dec di ; direction forward ; repeat while not equal ; quit if letter not found ; found: back up DI quit: ret

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!