PIC Microcontroller - Core Architecture

Core Architecture

The PIC architecture is characterized by its multiple attributes:

  • Separate code and data spaces (Harvard architecture).
  • A small number of fixed length instructions
  • Most instructions are single cycle execution (2 clock cycles, or 4 clock cycles in 8-bit models), with one delay cycle on branches and skips
  • One accumulator (W0), the use of which (as source operand) is implied (i.e. is not encoded in the opcode)
  • All RAM locations function as registers as both source and/or destination of math and other functions.
  • A hardware stack for storing return addresses
  • A fairly small amount of addressable data space (typically 256 bytes), extended through banking
  • Data space mapped CPU, port, and peripheral registers
  • The program counter is also mapped into the data space and writable (this is used to implement indirect jumps).

There is no distinction between memory space and register space because the RAM serves the job of both memory and registers, and the RAM is usually just referred to as the register file or simply as the registers.

Read more about this topic:  PIC Microcontroller

Famous quotes containing the words core and/or architecture:

    The threadbare trees, so poor and thin,
    They are no wealthier than I;
    But with as brave a core within
    They rear their boughs to the October sky.
    Poor knights they are which bravely wait
    The charge of Winter’s cavalry,
    Keeping a simple Roman state,
    Discumbered of their Persian luxury.
    Henry David Thoreau (1817–1862)

    Defaced ruins of architecture and statuary, like the wrinkles of decrepitude of a once beautiful woman, only make one regret that one did not see them when they were enchanting.
    Horace Walpole (1717–1797)