summaryrefslogtreecommitdiff
path: root/src/user/hello/hello.asm
blob: 65d32be5d4ef1bf7e16651adf5c0b9671114cd2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
bits 32

global _entry

section .text
_entry:
  mov eax, 0x5
  mov ebx, hello
  int 0x30

  int 0x38

section .data
hello db "Hello, world!", 0x0a, 0