I would like to make a general question about file reading. When I read strings form a file at an LC3 assembly program, how can I know that EOF is reached, EOL or empty space?
To be more specific, which are the equivalent commands for while(!=EOF)
, while(!=EOL)
and while(!= ' ')
at LC3 assembly? I guess that it it must be related to ASCII coding.
In addition, does 0x0 address mean end of string?