Diferencia entre revisiones de «Fundamentos de programación/Hola mundo»
Contenido eliminado Contenido añadido
Sin resumen de edición |
Sin resumen de edición |
||
Línea 27:
==[[w:es:ASSEMBLY|ASSEMBLY]]==
.model small
.stack
.data
saludo db "Hola mundo!!!", "$"
.code
main proc
mov ax,seg saludo
mov ds,ax ;ds = ax = saludo
Línea 38:
lea dx,saludo ;DX = String terminated by "$"
int 21h ;Interruptions DOS Functions
mov ax,4c00h ;Function (Quit with exit code (EXIT))
int 21h ;Interruption DOS Functions
main endp
end main
==[[w:es:AWK|AWK]]==
|