Hello World

section     .text
global      _start                             
 
_start:                                        
 
    mov     edx,len                             
    mov     ecx,msg                           
    mov     ebx,1                              
    mov     eax,4                               
    int     0x80                                
 
    mov     eax,1                               
    int     0x80                               
 
section     .data
 
msg     db  'Hello, world!',0xa                 
len     equ $ - msg                             
wiki/assembly.txt · Dernière modification: 2018/04/23 19:13 (modification externe)
CC0 1.0 Universal
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5