2019-06-23 12:40:18 +02:00
|
|
|
# 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
|
|
|
|
|
2019-07-04 20:33:49 +02:00
|
|
|
#
|
|
|
|
# Enable/disable instruction dumping (DUMP)
|
|
|
|
#
|
|
|
|
# IF $1 == 0 THEN
|
|
|
|
# (disable instruction dumping)
|
|
|
|
# ELSE
|
|
|
|
# (enable instruction dumping)
|
|
|
|
# FI
|
|
|
|
#
|
|
|
|
dump ri
|