1.Are the following true or false? a.)For PIC 18F, we can have two integers a an
ID: 3786396 • Letter: 1
Question
1.Are the following true or false?
a.)For PIC 18F, we can have two integers a and b with 0 < a < 128 and 0 < b < 128, but sum a + b > 128 (called overflow). Explain!
b.)We can have two integers a and b with 0 < a < 128 and 0 < b < 128, but sum a + b > 256 (called carry). Explain!
c.)For PORTB, we can set 4 pins to input only and another 4 pins to output only. Explain!
d.)For PORTE, we can set 4 pins to input only and another 4 pins to output only. Explain!
e.)We can add up contents of location 204 decimal and location 205 decimal using a few assembly instructions. Explain!
Explanation / Answer
1. False as the integer maximum value is 256 so there is overflow
2.false as integer maximum limit is 256
3. False Port B is bidirectional port
4. False because port e is bidirectional
5. True u can add individual content to accumulator and we can store final value in some location
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.