diff options
author | dannye <33dannye@gmail.com> | 2021-02-07 12:21:28 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-02-07 12:21:28 -0600 |
commit | 794701bf871f56d06b9567ef0ea84ebb98710572 (patch) | |
tree | 501a824b4c0c0f2f280c8db5892046926adf174a /src/macros/code.asm | |
parent | 3ae827ab30372596b50e39a89ad9e6e26d39b2b1 (diff) |
Separate true/false checks from nonzero/zero checks
Diffstat (limited to 'src/macros/code.asm')
-rw-r--r-- | src/macros/code.asm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/macros/code.asm b/src/macros/code.asm index 64fa387..c71e9e6 100644 --- a/src/macros/code.asm +++ b/src/macros/code.asm @@ -33,14 +33,16 @@ set_event_value: MACRO ENDM ; runs ZeroOutEventValue with the next byte as the event -zero_event_value: MACRO - call ZeroStackEventValue +; functionally identical to set_event_zero but intended for single-bit events +set_event_false: MACRO + call SetStackEventFalse db \1 ENDM -; a second version of the above with no real differences -zero_event_value2: MACRO - call ZeroStackEventValue2 +; runs ZeroOutEventValue with the next byte as the event +; functionally identical to set_event_false but intended for multi-bit events +set_event_zero: MACRO + call SetStackEventZero db \1 ENDM |