summaryrefslogtreecommitdiff
path: root/inc/definitions.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/definitions.h')
-rw-r--r--inc/definitions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/definitions.h b/inc/definitions.h
index 1d68a60..80fccbe 100644
--- a/inc/definitions.h
+++ b/inc/definitions.h
@@ -19,6 +19,7 @@
*/
#define MEM_WORD_SPEC 10
#define MEM_LINE_SPEC static_cast<unsigned int>(MEM_WORD_SPEC - LINE_SPEC)
+#define MEM_WORDS static_cast<int>(pow(2, MEM_WORD_SPEC))
#define MEM_LINES static_cast<int>(pow(2, MEM_LINE_SPEC))
/**