summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:46:40 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 20:46:40 -0500
commitddb01660dd5ef8844986e70e7d12b1e66aab4926 (patch)
treee3a9d168535c45da8f5f9a01703bfd6ea6e9427f /macros/code.asm
parent0071d0600f0411c878e6fde190218e74592811c1 (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 89e7c6e9..6e76febb 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