diff --git a/monitor/commands/commands.asm b/monitor/commands/commands.asm index 94c2de3..63df7b9 100644 --- a/monitor/commands/commands.asm +++ b/monitor/commands/commands.asm @@ -14,8 +14,14 @@ monitor_shell_parse_command: call compare_string ifz jmp monitor_shell_help_command + ; invalid command + mov r0, monitor_shell_invalid_command_string + call print_string_to_monitor + ret +monitor_shell_invalid_command_string: data.str "invalid command" data.8 10 data.8 0 + ; all commands #include "monitor/commands/exit.asm" #include "monitor/commands/help.asm"