# PIC16F84A assembly program

In PIC16F84A, numbers are represented as 8-bit binary sequences. Assume that you would to develop a language that represents both positive and negative numbers. So, your language should contain the following statements:

• int i to declare an integer in memory location i.
• i = k to store constant value k (positive or negative) in location i.
• i + j to perform addition.
• i - j to perfom subtraction.

1. For each statement, show how you will implement in assembly code.
2. What is the maximum and minimum values for k?

Any one check that please! i mini=-10. ,i max =+10.

New contributor
Mohammed Azab is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
• Looks like you just put your homework here. Is there a question? – Justme Mar 26 at 5:42
• I'm voting to close this question as off-topic because homework questions without demonstrated effort or explaining what has been attempted are not accepted. – JYelton Mar 26 at 6:21
• This question lacks at least in two points: it is not about electrical engineering, and it does not show any effort. Vote to close. – the busybee Mar 26 at 7:40