aboutsummaryrefslogtreecommitdiff
path: root/asm/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-29 15:46:44 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-29 15:46:44 +0000
commitfd1e6d96f6c651c67d12677485445ade40f17645 (patch)
tree09e7ee4dfd9d11bfaae864eb7047aad636f32491 /asm/main.c
parent16dcc88a53467046de3f4cf8fb5249686e760eae (diff)
downloadovm-fd1e6d96f6c651c67d12677485445ade40f17645.tar.gz
ovm-fd1e6d96f6c651c67d12677485445ade40f17645.tar.bz2
ovm-fd1e6d96f6c651c67d12677485445ade40f17645.zip
Report some stats of the actual program when working
Diffstat (limited to 'asm/main.c')
-rw-r--r--asm/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/asm/main.c b/asm/main.c
index 6867bc9..271dcc9 100644
--- a/asm/main.c
+++ b/asm/main.c
@@ -115,7 +115,8 @@ int main(int argc, char *argv[])
#endif
#if VERBOSE >= 2
- printf("[%sPARSER%s]: Instructions parsed:\n", TERM_GREEN, TERM_RESET);
+ printf("[%sPARSER%s]: Program parsed(COUNT=%lu, START=%lu):\n", TERM_GREEN,
+ TERM_RESET, program->count, program->header.start_address);
for (size_t i = 0; i < program->count; ++i)
{
printf("\t[%lu]: ", i);