32

section .text
    global _start

section .data
msg db  'Hello, world!',0xa
len equ $ - msg 

section .text

_start:
    mov edx,len
    mov ecx,msg
    mov ebx,1
    mov eax,4
    int 0x80

    mov ebx,0
    mov eax,1
    int 0x80

Comments
  • 1
    Billions and billions of lines of code...err...stars...
  • 2
    Where's the 0 padding?
    Oh right, this isn't a bootloader.
  • 0
    i once did the u.s flag, all 50 stars included, in assembler.

    asm: for when you need to be tortured, and actually enjoy it.
Add Comment