Sha256: 43fddbcbd6a9ff2d07eae35d23468595a7a1c198c71c869543d6952be3dad129

Contents?: true

Size: 334 Bytes

Versions: 10

Compression:

Stored size: 334 Bytes

Contents

Linux/x86

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 ;

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.6 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/blue.txt
zettacode-0.1.5 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/blue.txt
zettacode-0.1.4 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/blue.txt
zettacode-0.1.3 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.2 files.zettacode/hello_world.text/blue.txt
zettacode-0.1.1 zettacode.files/hello_world.text/blue.txt