
MOVS MOVE STRING MOVS
Operation: | Flags Affected: |
(DEST) +- (SRC) | None |
Description:
MOVS destination-string, source-string
MOYS (Move String) transfers a byte or a word from the source string (addressed by SI) to the destination string (addressed by DI) and updates SI and DI to point to the next string element. When used in conjunction with REP, MOYS performs a
Encoding:
11010010wl
if w = 0 then SRC = (SI), DEST = AL, DELTA = 1 else SRC = (SI) + 1:(SI), DEST = AX, DELTA = 2
MOVS Operands | Clocks· | Transfers | Bytes | MOVS Coding Example |
18(26) | 2 | 1 | MOVS LlNE~EDILDATA | |
(repeat) | 9+17(25)1 rep | 2/rep | 1 | REP MOVS SCREEN, BUFFER |
*b(w): where b denotes the number of clock cycles for byte operands and w denotes the number of clock cycles for word operands.