Added log in assembler for reading a certain number of bytes

This commit is contained in:
2023-11-08 18:14:59 +00:00
parent 642a8ae944
commit 253bebb467

View File

@@ -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)