mirror of
https://github.com/pnx/m16vm
synced 2026-06-16 03:44:55 +02:00
README.md: Correct the LW/SW instructions, they are type RI
This commit is contained in:
parent
6d2ad112af
commit
8e6ce776dc
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ There are 16 different instructions.
|
|||
| 0001 | add | R | Addition |
|
||||
| 0010 | movl | I | move value to register (lowest 8-bits) |
|
||||
| 0011 | movh | I | move value to register (highest 8-bits) |
|
||||
| 0100 | ld | R | load word |
|
||||
| 0101 | sw | R | store word |
|
||||
| 0100 | ld | RI | load word |
|
||||
| 0101 | sw | RI | store word |
|
||||
| 0110 | beq | RI | Branch on equal |
|
||||
| 0111 | jmp | J | Jump |
|
||||
| 1000 | jr | I | Jump (register) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue