I\'m having some trouble determining how many SFR (special function registers) a
ID: 648547 • Letter: I
Question
I'm having some trouble determining how many SFR (special function registers) are used in each microchip. The data i'm using shows a file map and a block diagram for each microchip. I've done some online research and found that each bank on a microchip has 128 bytes total. Is it as simple as subtracting the given GPR (general purpose register) from 128 to find the SFR? Below are the questions and the answers that I have thus far. I tried to upload the file that i'm using as a reference without any luck. Thanks for the help.
How many bytes are there in PIC16F84A and how many are for SFR and GPR?
(A) 1K bytes total, 68 bytes for the GPR for bank_0 and bank_1, no SFR used
How many bytes are there in PIC16F88 and how many are for SFR and GPR?
(A) 4K bytes total, 96 bytes for the GPR and 36 bytes for the SFR for Bank_0, 80 GPR and 48 SPR for Bank_1, 96 bytes for the GPR and 36 bytes for the SFR for Bank_2 and Bank_3. For all four banks that
Explanation / Answer
PIC16F84A
1K Program memory,68 bytes Data memory,15 SFRs used.
PIC16F88
4K program memory, 368 bytes data memory
PIC16F877A
8K program memory,368 bytes data memory
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.