BENCHMARK:
Block
Move
PROCESSOR:
Intel
iAPX
88
Bytes
Cycl
es
1
2
CLD
3 4
MOv
3 4
MOv
3 4
MOV
1 2
INC
, ,
SHR
,
9+25/
REP
MOvS
15
7
APPENDIX
;REGISTER
USAGE:
CX
-
BLOCK
LENGTH
SI
-
SOURCE
POINTER
01
-
DESTINATION
POINTER
SI,FROM
01,
TO
CX,LNGTH
CX
CX,l
TO,
FROM
bytes of
code
lines of
code
32
;Clear direction flag
;Initialize
Source
Pointer
;Initialize
Destination Pointer
;Initialize
Block
Length
,
;Adjust
LNGTH
for
word
moves
;Move
Block
AFN 01532A