summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:18:08 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:18:08 -0500
commitab0f9c287a45d1986985545d7ec6a2cd862e26fc (patch)
tree8063a15ad7082b953e47d2d00afd2679f9a8b470 /macros/code.asm
parent6834c7a9a149aaadccc7d41bc93e5440d84d8b66 (diff)
Use compound assignment operators
Diffstat (limited to 'macros/code.asm')
-rw-r--r--macros/code.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/code.asm b/macros/code.asm
index 89e7c6e90..6e76febb8 100644
--- a/macros/code.asm
+++ b/macros/code.asm
@@ -38,7 +38,7 @@ maskbits: MACRO
x = 1
rept 8
if x + 1 < (\1)
-x = x << 1 | 1
+x = (x << 1) | 1
endc
endr
if _NARG == 2