*/
TMP_CNT_0 = 26
TMP_CNT_1 = 27
+
.global max_cmd_length
max_cmd_length:
movw r30, r24
movw TMP_0, r24
rcall cli_putstr_P
movw r24, TMP_0
- call strlen_P
+ call strlen_PF
movw TMP_0, LEN_0
sub TMP_0, r24
sbc TMP_1, r25
99:
pop_range 28, 29
pop_range 14, 17
+ ori r24, 1
ret
ahelphead_str:
.asciz "\r\n[auto help] available commands:\r\n <command> - <params> - <address>\r\n"