Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

New Articles From Microcontroller Tips

Back
Top