1
0
Fork 0
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:
Henrik Hautakoski 2018-11-25 11:22:39 +01:00
parent 6d2ad112af
commit 8e6ce776dc
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View file

@ -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) |