build from inception
This commit is contained in:
16
srcs/requirements/test/tools/hello.asm
Normal file
16
srcs/requirements/test/tools/hello.asm
Normal file
@@ -0,0 +1,16 @@
|
||||
SECTION .data
|
||||
msg: db "Hi World",10
|
||||
len: equ $-msg
|
||||
|
||||
SECTION .text
|
||||
global main
|
||||
main:
|
||||
mov edx,len
|
||||
mov ecx,msg
|
||||
mov ebx,1
|
||||
mov eax,4
|
||||
int 0x80
|
||||
mov ebx,0
|
||||
mov eax,1
|
||||
int 0x80
|
||||
|
||||
Reference in New Issue
Block a user