Question: using assembly languages ((emu 8086)) write a program to find or calculate the length of abcdefgh please bu quickly DATA1 DB 'ABCDEFGH'. ; DI
DATA1 DB 'ABCDEFGH'. ; DI points to the string ; search for the letter F mov di,OFFSET DATA1 mov al, 'F' MOV CX,08 cld repne scasb jnz quit dec di i direction forward ; repeat while not equal ; quit if letter not found ; found: back up DI uit: ret
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
