diff options
-rw-r--r-- | Code-cleanup.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Code-cleanup.md b/Code-cleanup.md index d192254..9feb984 100644 --- a/Code-cleanup.md +++ b/Code-cleanup.md @@ -23,7 +23,7 @@ Most of the time, raw numbers should not exist because there are more meaningful - Bit flags: Use `SOME_BIT_F` constants instead of hard-coding bits 0-7 for the `bit`/`res`/`set` instructions. Find opportunities with: - grep -rE --include='*.asm' --exclude-dir=mobile '^\s(bit|res|set) [0-7],' + grep -rE --include='*.asm' --exclude-dir=mobile '^\s(bit|res|set) [0-7],' - Bit masks: Use `1 << SOME_BIT_F` masks and the `maskbits` macro. |