mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
vm
This commit is contained in:
parent
504b41317e
commit
2e85fb5820
29
vm/in/INSTRS
29
vm/in/INSTRS
@ -1,8 +1,21 @@
|
|||||||
# The OS/K Team licenses this file to you under the MIT license.
|
# The OS/K Team licenses this file to you under the MIT license.
|
||||||
# See the LICENSE file in the project root for more information.
|
# 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
|
stop
|
||||||
nop
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------#
|
||||||
# Logical instructions #
|
# Logical instructions #
|
||||||
@ -47,7 +60,7 @@ nop
|
|||||||
#
|
#
|
||||||
!xor rm rim
|
!xor rm rim
|
||||||
|
|
||||||
|
# To document
|
||||||
!shl rm rim
|
!shl rm rim
|
||||||
!shr rm rim
|
!shr rm rim
|
||||||
|
|
||||||
@ -382,6 +395,18 @@ iocall rim rim
|
|||||||
# Misc. instructions #
|
# Misc. instructions #
|
||||||
#---------------------------------------------------------------------------#
|
#---------------------------------------------------------------------------#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Do nothing (NOOP)
|
||||||
|
#
|
||||||
|
# (nothing)
|
||||||
|
#
|
||||||
|
# Preserves all flags
|
||||||
|
#
|
||||||
|
# Throws:
|
||||||
|
# (nothing)
|
||||||
|
#
|
||||||
|
nop
|
||||||
|
|
||||||
#
|
#
|
||||||
# Get code/date offset (GCO/GCD)
|
# Get code/date offset (GCO/GCD)
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user