diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:14:59 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:14:59 +0000 |
commit | 253bebb4674e5fe8e600fd9fcb9c79d6705759a6 (patch) | |
tree | 66593262c5d7159c876ed6a0c709771e7f6e6ce6 | |
parent | 642a8ae9449c40f4e78b562a501d49d34aa8aec6 (diff) | |
download | ovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.tar.gz ovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.tar.bz2 ovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.zip |
Added log in assembler for reading a certain number of bytes
-rw-r--r-- | asm/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ int main(int argc, char *argv[]) darr_t buffer = darr_read_file(fp); fclose(fp); +#if VERBOSE >= 1 + printf("[%sASSEMBLER%s]: Read `%s`\n", TERM_YELLOW, TERM_RESET, source_file); +#endif + token_stream_t tokens = {0}; lerr_t lex_error = tokenise_buffer(&buffer, &tokens); if (lex_error) |