diff --git a/README.md b/README.md index 7787eb2..6f22cd9 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,11 @@ then put the following code into the created file: ```assembly %include "std.hasm" -main: +main { msg: string "Hello, World!" print msg + syscall +} ``` diff --git a/examples/test.hasm b/examples/test.hasm index 190a180..bf239dc 100644 --- a/examples/test.hasm +++ b/examples/test.hasm @@ -1 +1,7 @@ -123 +%include "std.hasm" + +main { + msg: string "Hello, World!" + print msg + syscall +}