fox32os/applications/sh/commands/echo.asm
2023-04-02 13:17:54 -07:00

12 lines
203 B
NASM

; clear command
shell_echo_command_string: data.strz "echo"
shell_echo_command:
mov r0, [shell_args_ptr]
call print_str_to_terminal
mov r0, 10
call print_character_to_terminal
ret