Z zika1212 New Member Dec 20, 2004 #1 when i perform a subtract operation in PIC16F876 ; the answer stored in the register is it in the 2's complement form ? should i transform it to the normal form or is it stored in the normal form that don't need any changes to use it again ??
when i perform a subtract operation in PIC16F876 ; the answer stored in the register is it in the 2's complement form ? should i transform it to the normal form or is it stored in the normal form that don't need any changes to use it again ??
motion New Member Dec 20, 2004 #2 If the result is in two's complement if the result is negative. I.E., in the equation A = A - B , A is in two's complement form if A<B.
If the result is in two's complement if the result is negative. I.E., in the equation A = A - B , A is in two's complement form if A<B.