From ce0ab273f0d84718bf0da4afcdd6f6c8fd7db595 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Sun, 26 Jan 2020 11:17:21 -0500 Subject: [PATCH] Add "miscellaneous" instructions section, move Halt to there, add Nop Signed-off-by: Alek Ratzloff --- vm.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/vm.md b/vm.md index 2bcb7ce..6bb36f3 100644 --- a/vm.md +++ b/vm.md @@ -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