fox32rom/monitor/commands/help.asm

19 lines
641 B
NASM

; help command
monitor_shell_help_command_string: data.str "help" data.8 0
monitor_shell_help_command:
mov r0, monitor_shell_help_text
call print_string_to_monitor
ret
monitor_shell_help_text:
data.str "command | description" data.8 10
data.str "------- | -----------" data.8 10
data.str "exit | exit the monitor" data.8 10
data.str "help | display this help text" data.8 10
data.str "jump | jump to address $0" data.8 10
data.str "list | list memory contents starting at address $0" data.8 10
data.str "set.SZ | set [$0] to $1; equivalent to `mov.SZ [$0], $1`" data.8 10
data.8 0