-
-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Both loading from the memory (@) and storing (!) require popping the address from the stack. If it's empty, POP_D() will yield NaN -- making the conversion to int32_t yield an out-of-bounds value. Handle this condition. This also gets rid of the STORE() and LOAD() macro, that were only used inside one function each.
- Loading branch information
Showing
1 changed file
with
10 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters