Intel 210200-002 Baby Furniture User Manual


 
MOVS
MOVE STRING
MOVS
Operation:
(DEST)
+-
(SRC)
Flags Affected:
Description:
M
OVS
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 memory-to-memory block
transfer.
Encoding:
11010010wl
None
if w = 0
then
SRC = (SI), DEST = AL, DELTA = 1
else
SRC = (SI) + 1 :(SI), DEST = AX, DELTA = 2
MOVS Operands
Clocks·
Transfers Bytes
dest-string, source-string
18(26)
2 1
(repeat) dest-string, source-string
9+17(25)1 rep
2/rep 1
MOVS
Coding Example
MOVS
LlNE~EDILDATA
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.
2-118