Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Hello-world-Text/Blue/hello-world-text.blue
Normal file
15
Task/Hello-world-Text/Blue/hello-world-text.blue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
global _start
|
||||
|
||||
: syscall ( num:eax -- result:eax ) syscall ;
|
||||
|
||||
: exit ( status:edi -- noret ) 60 syscall ;
|
||||
: bye ( -- noret ) 0 exit ;
|
||||
|
||||
1 const stdout
|
||||
|
||||
: write ( buf:esi len:edx fd:edi -- ) 1 syscall drop ;
|
||||
: print ( buf len -- ) stdout write ;
|
||||
|
||||
: greet ( -- ) s" Hello world!\n" print ;
|
||||
|
||||
: _start ( -- noret ) greet bye ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue