diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-26 22:24:47 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-26 22:24:47 -0400 |
commit | 676f2f12e3e7990dcc49e3ea391f10aae8131639 (patch) | |
tree | 0411091966fe7a6b5a64f27aa828df015bb84362 /macros/code.asm | |
parent | 46f6cc4d41494c044f1091491c712afc2a5bfd3a (diff) |
Use more assertions to ensure correct code and data
Diffstat (limited to 'macros/code.asm')
-rw-r--r-- | macros/code.asm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/code.asm b/macros/code.asm index e393d495..a5d8c756 100644 --- a/macros/code.asm +++ b/macros/code.asm @@ -38,6 +38,7 @@ maskbits: MACRO ; maskbits 26 ; cp 26 ; jr nc, .loop + assert 0 < (\1) && (\1) <= $100, "bitmask must be 8-bit" x = 1 rept 8 if x + 1 < (\1) |