subtraction in PIC16F876 ??

Status
Not open for further replies.

zika1212

New Member
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 ??
 
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…