summaryrefslogtreecommitdiff
path: root/src/user/hello/hello.asm
blob: 345abb443f8aea741940bf3d719c1512db8d01b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
global _entry

section .text
_entry:
  mov eax, 3
  mov ebx, msg
  int 0x32

  int 0x30

section .rodata
msg db "Hello, world!", 0x0a, 0x00

section .bss
stack resb 8