blob: d9b54dd49a231c0efcd28ca2d846d3671eaae133 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
]
|