carry flag for subtraction was backwards. whoopsie.