String Instructions

MOVS, CMPS, SCAS, LODS, STOS with REP.

Darshan N
Updated: 19 March 2026
7 min read

String Manipulation Codes

Examine string transfer and comparison instructions.

Question 1 of 3

Q1.Which instruction compares a string element addressed by DS:SI with an element at ES:DI?