aboutsummaryrefslogtreecommitdiff
path: root/asm/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-08 18:14:59 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-08 18:14:59 +0000
commit253bebb4674e5fe8e600fd9fcb9c79d6705759a6 (patch)
tree66593262c5d7159c876ed6a0c709771e7f6e6ce6 /asm/main.c
parent642a8ae9449c40f4e78b562a501d49d34aa8aec6 (diff)
downloadovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.tar.gz
ovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.tar.bz2
ovm-253bebb4674e5fe8e600fd9fcb9c79d6705759a6.zip
Added log in assembler for reading a certain number of bytes
Diffstat (limited to 'asm/main.c')
-rw-r--r--asm/main.c4
1 files changed, 4 insertions, 0 deletions
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)