-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha.asm
More file actions
46 lines (37 loc) · 846 Bytes
/
a.asm
File metadata and controls
46 lines (37 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.model Small
.stack 64
.data
mensaje db 'Chadowkadizz', '$'
renglonPantalla db 0
columnaPantalla db 0
.code
main proc NEAR
MOV ax, @data
MOV ds, ax
;------------------
MOV CL,20
ciclo:
;POSICIONA EL CUROSR
MOV AH, 02H ;fija el curson a una pusocion
MOV BH, 00H
MOV DH, renglonPantalla ;pon el cursor de la posicion
MOV DL, columnaPantalla
INT 10H
;TERMINA DE POSICIONAR
;IMPRIME LETRA EN PANTALLA
MOV AL, mensaje[SI] ;
MOV AH, 02H
MOV DL, AL
INT 21H
;////////////////////////
INC SI
INC renglonPantalla
INC columnaPantalla
LOOP ciclo
;--------------
;salir del DOS
;--------------
mov ax, 4C00h
int 21h
main endp
end main