Load word at DS:[SI] into AX. Update SI.Algorithm:
Load word at DS:[SI] into AX. Update SI.
Algorithm:
LODSW
.model small .data a1 dw 111h, 222h, 333h, 444h, 555h ... .code ... ... LEA SI, a1 MOV CX, 5 REP LODSW ; finally there will be 555h in AX. ... ... end