fixed typos
This commit is contained in:
parent
f64747dc93
commit
724cc66faa
4
spec.md
4
spec.md
@ -10,7 +10,7 @@ Since I'm studying riscV, this will be a lot riscv inspired.
|
||||
|
||||
The gravejit virtual machine sports 16 16-bit registers (plus the program counter!) and 16 operations.
|
||||
|
||||
Here is the list of registers togheter with memonics.
|
||||
Here is the list of registers together with memonics.
|
||||
```
|
||||
0 : zero // register 0 is always 0.
|
||||
1 : ra // return address
|
||||
@ -56,7 +56,7 @@ pc: program counter.
|
||||
|
||||
### Operation formats:
|
||||
|
||||
Each istruction is 16 bits long.
|
||||
Each instruction is 16 bits long.
|
||||
The first 4 most-significant bits are the opcode.
|
||||
Constants (c in the above table) are always considered signed, and written in
|
||||
two's compliment. Sign extension also takes place whenever needed.
|
||||
|
Loading…
Reference in New Issue
Block a user