Skip to content

Commit

Permalink
#66: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Dec 17, 2023
1 parent 70292b9 commit 1c008ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main 8 0:
Mov 0 r0
Ret
```
Where Ret returns exit code `r0`. "main" is name if the starting function, `8` is number of registers in it, `0` is number of arguments passing into the function.
Where Ret returns exit code `r0`. "main" is name of the starting function, `8` is number of registers in it, `0` is number of arguments passing into the function.
This script compiled to chai-bytecode should print "0", because '0' == 48.
## Chai file format
Our file format is similar to jvm ClassFile Structure. Its content is the following:
Expand Down

0 comments on commit 1c008ae

Please sign in to comment.