Expand description

Utility for checking binary arithmetic flags for ALU operations.

Functions

  • Returns if the sum of an addition operation between two integers generated an arithmetic carry.
  • Returns if two addends and their sum generated an arithmetic overflow.
  • Returns if the difference of an subtraction operation between two integers generated an arithmetic borrow.
  • Returns if the subtraction operation between the minuend and subtrahend integers and their difference generated an arithmetic overflow.