You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behavior for double word ops is to return a double word. This does not make sense because the main op to use these branch takes the top 2 words of the stack.
Change double word ops to return a single word 1 or 0 for true and false.
The text was updated successfully, but these errors were encountered:
I have added macros that allow converting a word to double word and double word to word. These make this change not a priority as it will break a lot of tests. Perhaps if it is still seen as necessary it can be done along with the other suggested breaking changes. It also is a little hard to be sure if all boolean functions should return a single word, or if all double word functions should always return a double word. So for now the macro solves the problem and may just be left that way for good measure. Even some macros that create new double word comparison ops could be made that always return a single word.
This keeps confusing me when I work with double words. I think it makes more sense to have all operations that do comparisons return a single word for true or false.
The current behavior for double word ops is to return a double word. This does not make sense because the main op to use these branch takes the top 2 words of the stack.
Change double word ops to return a single word 1 or 0 for true and false.
The text was updated successfully, but these errors were encountered: