def _read_string(self, cpu, buf):
filename = "<STR_LIT>"<EOL>for i in range(<NUM_LIT:0>, <NUM_LIT>):<EOL><INDENT>c = Operators.CHR(cpu.read_int(buf + i, <NUM_LIT:8>))<EOL>if c == '<STR_LIT:\x00>':<EOL><INDENT>break<EOL><DEDENT>filename += c<EOL><DEDENT>return filename<EOL>
Reads a null terminated concrete buffer form memory
:todo: FIX. move to cpu or memory