Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;inicialización de programa
- .model small
- .stack
- .code
- mov di, 0Fh
- forJ:
- inc di
- mov si, di
- forI:
- inc si
- mov bl, [si]
- mov al, [di]
- cmp bl, al
- jae continuar
- mov cl, al
- mov al, bl
- mov bl, cl
- mov [si], bl
- mov [di], al
- continuar:
- cmp si, 19h
- jne forI
- cmp di, 18h
- jne forJ
- ;fin de programa
- mov ah, 4ch
- int 21h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement