PIC Microcontroller Programming: Memory Organization
16 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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

  • 256 bytes
  • 14.3 Kbyte (correct)
  • 32 Kbyte
  • 128 bytes

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

  • Data EEPROM (correct)
  • Program memory
  • Data memory
  • Instruction Word

In which bank is the default location for user access in the PIC 16F877 chip?

  • Bank2
  • Bank0 (correct)
  • Bank1
  • Bank3

Which addressing mode in PIC MCUs uses a number or constant as the operand?

<p>Immediate addressing mode (A)</p> Signup and view all the answers

How many bytes does each bank in the special function register file (SFR) of the PIC 16F877 chip contain?

<p>32 bytes (D)</p> Signup and view all the answers

Which registers are available in all banks of the PIC 16F877 chip, making them accessible at any time?

<p>STATUS, FSR, PCL, PCLATCH (B)</p> Signup and view all the answers

Which addressing mode deals with data that is immediate after the opcode?

<p>Immediate addressing (B)</p> Signup and view all the answers

Which addressing mode deals with registers and the data they hold?

<p>Register operand addressing mode (D)</p> Signup and view all the answers

Which addressing mode involves addressing a memory location directly?

<p>Memory operand addressing mode (A)</p> Signup and view all the answers

Which addressing mode is done through a 9-bit address and is obtained by connecting the 7th bit of the address?

<p>Direct addressing (D)</p> Signup and view all the answers

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

<p>FSR Register (B)</p> Signup and view all the answers

Which register actually addresses the register whose address is contained in the FSR register?

<p>INDF Register (A)</p> Signup and view all the answers

What does the MOVLW instruction mean in English?

<p>'Move Literal Value Into W' (D)</p> Signup and view all the answers

What type of register is W, and how many bits does it have?

<p>8-bit, working register (A)</p> Signup and view all the answers

'Move The C' instruction is represented by which opcode?

<p>'MOVWF' (B)</p> Signup and view all the answers

'FSR' stands for which of the following?

<p>'File Selector Register' (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser