summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 0f96cc3..cb176c4 100644
--- a/common.h
+++ b/common.h
@@ -12,6 +12,8 @@ struct Settings {
bool raw_data_comment{};
};
+constexpr unsigned kRelocRelMask = 1;
+constexpr unsigned kRelocAbsMask = 2;
constexpr size_t kInstructionSizeStepBytes = 2;
constexpr size_t kRomSizeBytes = 4 * 1024 * 1024;
constexpr size_t kDisasmMapSizeElements = kRomSizeBytes / kInstructionSizeStepBytes;