Fix typos

This commit is contained in:
Ching Pei Yang 2023-12-05 20:03:19 +01:00
parent 263f9ceb41
commit 8c7bc6455e
No known key found for this signature in database
GPG key ID: 062FBBCE1D0C5DD9

View file

@ -103,7 +103,7 @@ main =
If this file exists somewhere in the repo as `dbg.roc`, we'll be able to compile an object file by issuing the following command:
```console
# `cargo run --` can be replaces with calling the compiled `roc` cli binary.
# `cargo run --` can be replaced with calling the compiled `roc` cli binary.
$ cargo run -- build --dev main.roc --no-link
```
@ -152,7 +152,7 @@ The output lines contain the hexadecimal representation of the x86 opcodes and f
As a note, when dealing with relocations, please make sure to compile with PIC.
- [Online Assembler](https://defuse.ca/online-x86-assembler.htm#disassembly) -
Useful for seeing the actual bytes generated by assembly instructions.
A lot of time it gives on out of multiple options because x86_64 has many ways to do things.
A lot of time it gives one out of multiple options because x86_64 has many ways to do things.
Also, sometimes it doesn't seem to generate things quite as you expect.
- [Alternative Online Assembler](http://shell-storm.org/online/Online-Assembler-and-Disassembler/) -
Like previous but with more architecture options.