EJERCICIO EN ASSEMBLER
-
Upload
jeefrey-meneses -
Category
Documents
-
view
2 -
download
0
description
ejercicio en assembler para mostrar el alfabeto
Transcript of EJERCICIO EN ASSEMBLER
-
DATOS SEGMENT 'DATA' msg1 DB 13,10,"EL alfabeto es: ", '$'
DATOS ENDS
CODIGO SEGMENT 'CODE' ASSUME CS:CODIGO, DS:DATOS
ENTRADA: mov ax, DATOS mov ds, ax mov dx, OFFSET msg1 mov ah, 09h int 21h
mov dl,61h
repite:
mov ah,02hint 21hinc dlcmp dl,7Ahjg FINjmp repite
FIN: mov ax, 4C00h int 21h
CODIGO ENDS END ENTRADA