
Ayuda con un ejemplo de ensamblador,
Publicado por Luis Alberto (2 intervenciones) el 04/06/2015 01:39:43

Valora esta pregunta


0
;-------------------------------
.model small
.stack
.code
inicio:
mov ah,0
mov al,13h
int 10h
mov cx,20
mov dx,50
mov bh,0
mov al,14
mov ah,0ch
mov si,0
rep1:
int 10h
mov dx,150
int 10h
mov dx,50
inc cx
inc si
cmp si,260
jne rep1
mov cx,20
mov dx,50
mov si,0
rep2:
int 10h
mov cx,20
int 10h
mov cx,279
inc dx
inc si
cmp si,100
jne rep2
mov ax,0
int 16h
mov ax,03
int 10h
mov ax,4c00h
int 21h
end inicio
;-------------------------------