mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
37 lines
882 B
Plaintext
37 lines
882 B
Plaintext
# The OS/K Team licenses this file to you under the MIT license.
|
|
# See the LICENSE file in the project root for more information.
|
|
|
|
#---------------------------------------------------------------------------#
|
|
# Debugging instructions #
|
|
#---------------------------------------------------------------------------#
|
|
|
|
#
|
|
# Breakpoint instruction (BREAK)
|
|
#
|
|
# (cause register dump on standard error)
|
|
# (wait for user input before proceeeding)
|
|
#
|
|
break
|
|
|
|
#
|
|
# Step-by-step execution (STEP)
|
|
#
|
|
# IF $1 == 0 THEN
|
|
# (disable step-by-step execution)
|
|
# ELSE
|
|
# (enable step-by-step execution)
|
|
# FI
|
|
#
|
|
step ri
|
|
|
|
#
|
|
# Enable/disable instruction dumping (DUMP)
|
|
#
|
|
# IF $1 == 0 THEN
|
|
# (disable instruction dumping)
|
|
# ELSE
|
|
# (enable instruction dumping)
|
|
# FI
|
|
#
|
|
dump ri
|