PIC Microcontroller Programming Lecture 6: Memory Organization of PIC16F877A

UnparalleledCanto avatar
UnparalleledCanto
·
·
Download

Start Quiz

Study Flashcards

30 Questions

What is the capacity of the program memory in the PIC 16F877 chip?

14.3 Kbyte

Which section of the PIC 16F877 memory is used to store the programs written by the user?

Program memory

In which bank is the default bank for accessing the special function register (SFR)?

BANK0

How many bytes does each bank in the special function register file (SFR) contain?

32 bytes

Which addressing mode uses a number or constant as an operand?

Immediate addressing mode

Which part of the PIC 16F877 memory is used to store non-volatile data?

Data EEPROM

Which addressing mode involves transferring data directly after the opcode?

Memory operand addressing mode

In which addressing mode is the operand a register that holds the data to be executed?

Register operand addressing mode

Which type of addressing mode deals with the address or the memory location?

Memory operand addressing mode

What type of addressing mode is convenient for manipulating data arrays located in general purpose registers?

Indirect addressing

Which register is used for indirect or indexed addressing of the other file registers?

FSR Register

Which register holds the address indicated by the FSR in indirect addressing?

INDF Register

What does the MOVLW instruction mean in English?

'Move Literal Value Into W'

What is the capacity of the status register?

8 bits

Which section of the PIC 16F877 memory contains the programs written by the user?

Program memory

What is the capacity of the data EEPROM in the PIC 16F877 chip?

256 bytes

Which addressing mode involves transferring data directly after the opcode?

Immediate addressing mode

How many bytes does each bank in the special function register file (SFR) contain?

32 bytes

What is the capacity of the program memory in the PIC 16F877 chip?

14.3 Kbytes

Which register is available in all banks and is accessible at any time, regardless of the selected bank?

STATUS

What type of addressing mode deals with the registers like CLR W?

Register operand addressing mode

Which addressing mode involves transferring data directly after the opcode?

Immediate addressing

What is the capacity of the FSR register?

8-bit

Which addressing mode is used for manipulating data arrays located in GPR registers?

Indirect addressing

What is the capacity of the status register?

8-bit

Which register is used for indirect or indexed addressing of the other file registers?

FSR register

In which addressing mode does the operand hold the data to be executed?

Register operand addressing mode

Which addressing mode uses an address of Memory location as the operand?

Memory operand addressing mode

What does the MOVLW instruction mean in English?

'Move Literal Value Into W'

How many bits is the W register?

8-bit

Study Notes

PIC 16F877 Memory

  • The program memory capacity in the PIC 16F877 chip is 14KB.
  • The program memory is used to store the programs written by the user.

Special Function Register (SFR)

  • Each bank in the SFR contains 256 bytes.
  • The default bank for accessing the SFR is Bank 0.

Addressing Modes

  • Implied addressing mode uses a number or constant as an operand.
  • Immediate addressing mode involves transferring data directly after the opcode.
  • Register addressing mode involves transferring data from/to a register.
  • Indexed addressing mode deals with the address or memory location.
  • Indirect addressing mode is convenient for manipulating data arrays located in general purpose registers.

Registers

  • FSR (File Select Register) is used for indirect or indexed addressing of the other file registers.
  • The FSR register holds the address indicated by the FSR in indirect addressing.
  • The W register is used for storing data temporarily.
  • The W register is 8-bit wide.

Instructions

  • MOVLW instruction means "Move Literal to W" in English.

Status Register

  • The status register capacity is 8 bits.

Data EEPROM

  • The data EEPROM capacity in the PIC 16F877 chip is 256 bytes.

This quiz covers the memory organization of the PIC16F877A microcontroller, including the division of memory into program memory and data memory, as well as the components of the data memory such as the general purpose register file and special function register file (SFR). Test your understanding of computer architectures in relation to PIC microcontroller programming.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser