aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-22 18:02:40 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-22 18:07:41 +0100
commit5ee9bfaca860d8421b9c75267bcb2c2422efd394 (patch)
tree59dc93d9397e9f48f0c67e849fdf82a29209123b /src
parenta8d743e76e8c6991d58354408d63eeb866e4772a (diff)
downloadovm-5ee9bfaca860d8421b9c75267bcb2c2422efd394.tar.gz
ovm-5ee9bfaca860d8421b9c75267bcb2c2422efd394.tar.bz2
ovm-5ee9bfaca860d8421b9c75267bcb2c2422efd394.zip
Added flag in base.h, VERBOSE
Will be used to provide traces during program execution or assembly.
Diffstat (limited to 'src')
-rw-r--r--src/base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base.h b/src/base.h
index e8ddfdb..75ae6af 100644
--- a/src/base.h
+++ b/src/base.h
@@ -18,6 +18,11 @@
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) > (b) ? (b) : (a))
+// Flags
+#ifndef VERBOSE
+#define VERBOSE 0
+#endif
+
typedef uint64_t u64;
typedef uint32_t u32;
typedef int32_t i32;