Skip to content

Commit

Permalink
Change assembly examples
Browse files Browse the repository at this point in the history
  • Loading branch information
LeotendoDev committed Mar 20, 2022
1 parent 6856c4d commit c1b550e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

Expand Down
8 changes: 7 additions & 1 deletion examples/test.hasm
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
123
%include "std.hasm"

main {
msg: string "Hello, World!"
print msg
syscall
}

0 comments on commit c1b550e

Please sign in to comment.