stos.asm

No se que hace

Búsqueda de ejemplos en Ensamblador
;Autor Hector Torres
;URL

.model small
.stack
.data
 var1 db 10 dup('x'),'$'
.code
.startup


 push ES
 mov BX,DS
 mov ES,BX
 mov cx,5
 mov al,'%'
 LEA DI,var1
 std
 rep stosb

 LEA DX,var1
 mov ah,09h
 int 21h
 pop ES
.exit
end