Added a "usage" message and colours for assembler

Prints useful and pretty messages when verbose being at least 1.
This commit is contained in:
2023-10-29 16:58:58 +00:00
parent 597a45aa73
commit 157c79d53c
3 changed files with 45 additions and 22 deletions

View File

@@ -18,6 +18,10 @@
#define ARR_SIZE(xs) (sizeof(xs) / sizeof(xs[0]))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) > (b) ? (b) : (a))
#define TERM_GREEN "\e[0;32m"
#define TERM_YELLOW "\e[0;33m"
#define TERM_RED "\e[0;31m"
#define TERM_RESET "\e[0;0m"
// Flags
#ifndef VERBOSE