From 253bebb4674e5fe8e600fd9fcb9c79d6705759a6 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 8 Nov 2023 18:14:59 +0000 Subject: Added log in assembler for reading a certain number of bytes --- asm/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/asm/main.c b/asm/main.c index 21bfdfc..6867bc9 100644 --- a/asm/main.c +++ b/asm/main.c @@ -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) -- cgit v1.2.3-13-gbd6f