Diferencia entre revisiones de «Fundamentos de programación/Hola mundo»

Contenido eliminado Contenido añadido
Sin resumen de edición
Línea 24:
%>
 
==[[w:es:ASSEMBLY|ASSEMBLY]]==
 
.model small
.stack
.data
saludo db "Hola mundo!!!", "$"
.code
main proc ;Init process
mov ax,seg saludo
mov ds,ax ;ds = ax = saludo
mov ah,09 ;Function(print string)
lea dx,saludo ;DX = String terminated by "$"
int 21h ;Interruptions DOS Functions
;mensaje en pantalla
mov ax,4c00h ;Function (Quit with exit code (EXIT))
int 21h ;Interruption DOS Functions
main endp ;End process
end main
 
==[[w:es:AWK|AWK]]==