fox32os/applications/sh/commands/echo.asm

12 lines
203 B
NASM
Raw Normal View History

2023-04-02 22:17:54 +02:00
; 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