- argcount_str db `there are %d args\n`, 0x00
- wrongfile_str db `unable to open file, error code: %i\n`, 0x00
- char_str db `read this char: %i\n`, 0x00
- printfint_str db `int: %i\n`, 0x00
+ readlines_str db `opened file with %i lines\n`, 0x00
+ prompt_str db `sped > `, 0x00
+ invalidcmd_str db `invalid command\n`, 0x00
+ invalidaddr_str db `invalid address\n`, 0x00
+ charcount_str db `read %i chars\n`, 0x00
+ currentline_str db `current line: %i\n`, 0x00
+ echo_str db `%s`, 0x00 ; print strings without format exploit
+
+section .bss
+ buffer resb 4
+ buffer_lines resb 4
+ cur_line resb 4