Hacker News new | ask | show | jobs
by Vogtinator 2966 days ago
The ARM ARM documents sub(left, right, no carry) as add(left, ~right, carry set), which is also the most straightforward implementation if you have to account for carry anyway.