Add "miscellaneous" instructions section, move Halt to there, add Nop

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-01-26 11:17:21 -05:00
parent c8690e79bc
commit ce0ab273f0

14
vm.md
View File

@@ -129,10 +129,6 @@ wrapping around to 0.
}
```
* Jumps to the address in REG1 if COMPARE flag is 1.
* Halt
* **Params**: (none)
* `FLAGS[0] = 1`
* Halts the machine
## Data movement
@@ -161,6 +157,16 @@ wrapping around to 0.
* `REG1 = REG2`
* Copies the value in REG2 into REG1.
## Miscellaneous
* Halt
* **Params**: (none)
* `FLAGS[0] = 1`
* Halts the machine
* Nop
* **Params**: (none)
* Does nothing
## Other instructions TODO
* Call