Closed josephcsible closed 4 years ago
This PR and #1 will have a merge conflict with each other. If both of them look good to merge, my preference is that you merge #1 first, and then I'll fix the resulting conflict in this one.
This is rebased and ready to be merged.
Instead of jumping and maybe negating
ret
in assembly, pass the carry flag as an output parameter, and do the negation in C if necessary. This will enable better codegen in places that these get inlined.