Question: Using assembly languages ((emu 8086)). I need simple and short(.model small) solution. Solution must be beginner level. I need different solutions, from other chegg Q&A
Using assembly languages ((emu 8086)). I need simple and short(.model small) solution. Solution must be beginner level. I need different solutions, from other chegg Q&A
Write a program to automatically find the length of "abcdefgh" or "abc" or "abcd" in the "mov cx" command.
(In the image, the length of 'abcdefg' is defined manually (mov cx, 08)

. model small 02 .data DATA1 DB 05 .code 06 07 main proc 08 MOV AX, @DATA 09 MOV DS, AX 10 MOV ES, AX 11 12 mov d,OFFSET DATA1 13 mov al, 'F' 14 mov cl, 8 15 cld 16 repne scasb 17 in quit 18 dec di 19 20 quit: ret 21 22 endp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
