Add "miscellaneous" instructions section, move Halt to there, add Nop
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
14
vm.md
14
vm.md
@@ -129,10 +129,6 @@ wrapping around to 0.
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
* Jumps to the address in REG1 if COMPARE flag is 1.
|
* Jumps to the address in REG1 if COMPARE flag is 1.
|
||||||
* Halt
|
|
||||||
* **Params**: (none)
|
|
||||||
* `FLAGS[0] = 1`
|
|
||||||
* Halts the machine
|
|
||||||
|
|
||||||
## Data movement
|
## Data movement
|
||||||
|
|
||||||
@@ -161,6 +157,16 @@ wrapping around to 0.
|
|||||||
* `REG1 = REG2`
|
* `REG1 = REG2`
|
||||||
* Copies the value in REG2 into REG1.
|
* 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
|
## Other instructions TODO
|
||||||
|
|
||||||
* Call
|
* Call
|
||||||
|
|||||||
Reference in New Issue
Block a user