diff options
author | yenatch <yenatch@gmail.com> | 2015-07-21 02:04:38 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-07-21 02:04:38 -0400 |
commit | 0b5471f385d3cc66bb4ae7aa4191ce3af9f50cac (patch) | |
tree | 61cb1021673d8a9b7b1cdddc64d90053a8476e8b /macros/enum.asm | |
parent | 006fc875971c92f2249f47b5fd120c5df76c6883 (diff) | |
parent | d5ddd9e54ec2422d6f1cd7c561c1750512d0a81d (diff) |
Merge pull request #302 from PikalaxALT/more_enum
More enum
Diffstat (limited to 'macros/enum.asm')
-rw-r--r-- | macros/enum.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/enum.asm b/macros/enum.asm index 0a72d49d8..aee6ee530 100644 --- a/macros/enum.asm +++ b/macros/enum.asm @@ -29,3 +29,8 @@ const: MACRO \1 EQU const_value const_value = const_value + 1 ENDM + +shift_const: MACRO +\1 EQU 1 << const_value +const_value = const_value + 1 +ENDM |