Question: A fragment of code is given to compare text in the field alpha with a text in the field beta: .data alpha db 12 dup(?)

A fragment of code is given to compare text in the field alpha with a text in the field beta:

.data

alpha db 12 dup(?)

beta db abrakadabra, 0

; :::

.code

; :::

mov esi, 0

mov ecx, 12

ns: mov dl, alpha[esi]

cmp dl, beta[esi]

jne wrong

;=====MISSING====

loop ns

; :::

wrong:

Choose missing instruction to insert in the code line marked by the comment MISSING.

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!