summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 716aae15f..67a9548b6 100644
--- a/include/global.h
+++ b/include/global.h
@@ -10,6 +10,8 @@
// to help in decompiling
#define asm_comment(x) asm volatile("@ -- " x " -- ")
+#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided\n")
+
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#define POKEMON_NAME_LENGTH 10