diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-04-21 21:54:29 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-04-21 21:54:29 -0400 |
commit | 1d28c9820f3435b458bc73712f6c5902715efaa7 (patch) | |
tree | f59c01912801610ff8bd80dbcb440e64b35ccc3f /berry_fix/payload/asm/macros/asm.inc | |
parent | 29dc2b2284e61f37b973f9b68dbf7f1db7e01d13 (diff) |
Payload is now independent of agbsdk
Are you happy now @luckytyphlosion? Kappa
Diffstat (limited to 'berry_fix/payload/asm/macros/asm.inc')
-rw-r--r-- | berry_fix/payload/asm/macros/asm.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/berry_fix/payload/asm/macros/asm.inc b/berry_fix/payload/asm/macros/asm.inc new file mode 100644 index 000000000..26b2707ca --- /dev/null +++ b/berry_fix/payload/asm/macros/asm.inc @@ -0,0 +1,17 @@ + .ifndef GUARD_ASM_MACROS_ASM_INC + .set GUARD_ASM_MACROS_ASM_INC, 1 + + .macro inc x + .set \x, \x + 1 + .endm + + .macro enum_start x=0 + .set __enum__, \x + .endm + + .macro enum constant + .equiv \constant, __enum__ + inc __enum__ + .endm + + .endif @ GUARD_ASM_MACROS_ASM_INC |