From 2e85fb5820fd1f91c71b98eb17768e93ec9c2f5d Mon Sep 17 00:00:00 2001 From: julianb0 Date: Fri, 7 Jun 2019 13:43:03 +0200 Subject: [PATCH] vm --- vm/in/INSTRS | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/vm/in/INSTRS b/vm/in/INSTRS index ae3cb1a..e53c8d5 100644 --- a/vm/in/INSTRS +++ b/vm/in/INSTRS @@ -1,8 +1,21 @@ # The OS/K Team licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. +#---------------------------------------------------------------------------# +# Special instructions # +#---------------------------------------------------------------------------# + +# +# Initiate machine shutdown (STOP) +# +# THROW #SHT +# +# Throws: +# #SYS if not in supervisor mode +# #ILL if disabled through DV +# #SHT otherwise +# stop -nop #---------------------------------------------------------------------------# # Logical instructions # @@ -47,7 +60,7 @@ nop # !xor rm rim - +# To document !shl rm rim !shr rm rim @@ -382,6 +395,18 @@ iocall rim rim # Misc. instructions # #---------------------------------------------------------------------------# +# +# Do nothing (NOOP) +# +# (nothing) +# +# Preserves all flags +# +# Throws: +# (nothing) +# +nop + # # Get code/date offset (GCO/GCD) #