diff options
Diffstat (limited to 'subx/examples/ex6.k2')
-rw-r--r-- | subx/examples/ex6.k2 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/subx/examples/ex6.k2 b/subx/examples/ex6.k2 deleted file mode 100644 index d9b54dd4..00000000 --- a/subx/examples/ex6.k2 +++ /dev/null @@ -1,13 +0,0 @@ -var size : int = 14 -var x : (array character) = "hello, world!" - -fn main [ - call write 1/stdout, x, size - call exit, 0 -] - -fn exit x : int [ - code/EBX <- copy x - code/EAX <- copy 1/exit - syscall -] |