materiales diseño de documentos | mapas conceptualesUnidad 1 Teoría básica del muestreo Teoría del muestreoMuestreoTeoría del muestreo Unidad 2Teorema Central del Límiteejercicios Unidad 3estimadores Unidad 4muestras pequeñastabla distribución t Unidad 7prueba de chi cuadrado Unidad 8regresión linealregresión linealcalculadoraanovaejemplosregresión múltiplecalculadoraexcelregresión múltiple Compartir Obtener enlace Facebook X Pinterest Correo electrónico Otras aplicaciones Compartir Obtener enlace Facebook X Pinterest Correo electrónico Otras aplicaciones Comentarios Anónimo20 de julio de 2016 a las 22:32section .text global _start ;must be declared for using gcc_start: ;tell linker entry point mov edx, len ;message length mov ecx, msg ;message to write mov ebx, 1 ;file descriptor (stdout) mov eax, 4 ;system call number (sys_write) int 0x80 ;call kernel mov edx, len1 ;message length mov ecx, msg1 ;message to write mov ebx, 1 ;file descriptor (stdout) mov eax, 4 ;system call number (sys_write) int 0x80 ;call kernel mov eax, 1 ;system call number (sys_exit) int 0x80 ;call kernelsection .datamsg db 'Hello, world!',0xa ;our dear stringlen equ $ - msg ;length of our dear stringmsg1 db 'aquí estoy ahora',0xa ;our dear stringlen1 equ $ - msg1 ;length of our dear stringResponderEliminarRespuestasResponderAnónimo20 de julio de 2016 a las 22:59section .textglobal _start_start:mov edx,2mov ecx,choicemov ebx,1mov eax,4int 0x80mov ecx,choice1mov eax,4int 0x80mov eax,1int 0x80section .datachoice DB 'ab'choice1 DB 'cd'ResponderEliminarRespuestasResponderAñadir comentarioCargar más... Publicar un comentario
section .text
ResponderEliminarglobal _start ;must be declared for using gcc
_start: ;tell linker entry point
mov edx, len ;message length
mov ecx, msg ;message to write
mov ebx, 1 ;file descriptor (stdout)
mov eax, 4 ;system call number (sys_write)
int 0x80 ;call kernel
mov edx, len1 ;message length
mov ecx, msg1 ;message to write
mov ebx, 1 ;file descriptor (stdout)
mov eax, 4 ;system call number (sys_write)
int 0x80 ;call kernel
mov eax, 1 ;system call number (sys_exit)
int 0x80 ;call kernel
section .data
msg db 'Hello, world!',0xa ;our dear string
len equ $ - msg ;length of our dear string
msg1 db 'aquí estoy ahora',0xa ;our dear string
len1 equ $ - msg1 ;length of our dear string
section .text
ResponderEliminarglobal _start
_start:
mov edx,2
mov ecx,choice
mov ebx,1
mov eax,4
int 0x80
mov ecx,choice1
mov eax,4
int 0x80
mov eax,1
int 0x80
section .data
choice DB 'ab'
choice1 DB 'cd'