The PIC16C5X integrates an 8-bit arithmetic logic unit (ALU) and working register (W) on one chip; 384 to 2K of 12-bit program memory (ROM); 32 to 80 8-bit data registers (RAM); 12 to 20 I/O ports; 8-bit counter and prescaler ; clock, reset, and watchdog counter, etc. The internal structure is shown in Figure 1.2:
As can be seen from the figure, PIC16C5X has a feature that the data memory RAM is used as a register for addressing to facilitate programming. The register group is divided into two parts according to function, namely the special register group and the general register group. The special register group includes the real-time clock counter RTCC , the program counter PC, the status register Status, the I/O port register and the storage bank select register FSR. These registers will be discussed in detail later.
The PIC bus structure adopts the Harvard structure with independent separation of data line (8 bits) and instruction line (12 bits). This can improve the instruction speed of the microcontroller . When an instruction is executed in the ALU, the next instruction has been taken out and placed in the instruction register waiting to be executed. The arithmetic logic unit ALU and the working register (W) are responsible for arithmetic and logical operations.
PIC16C5X provides a two-level stack, so subroutine calls only have two levels. Be sure to pay attention to this when using it, otherwise the program will run out of control.
Previous article:Section 4: PIC series microcontroller program memory and stack
Next article:Section 2: PIC16C5X series microcontroller model introduction and pin introduction
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Ranking of installed capacity of smart driving suppliers from January to September 2024: Rise of independent manufacturers and strong growth of LiDAR market
- Industry first! Xiaopeng announces P7 car chip crowdfunding is completed: upgraded to Snapdragon 8295, fluency doubled
- P22-009_Butterfly E3106 Cord Board Solution
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Made a simple scheduler on CH32V103
- Two-switch forward converter
- The LCD screen uses the ILI9325 screen controller, and the 32-bit board is STM32F103ZET6. After burning the program, only the background is lit,...
- Voltage follower for high frequency circuit based on OPA842
- What are these little triangles for? How do you set them up?
- Automatic gain AGC circuit
- Massive MIMO Definition and Massive MIMO 5G and NR Standards
- TI Embedded Live Month: In-depth exploration of new applications of embedded products in industry and automobiles. The third session will be live at 10:00 today.
- I just learned AD. Where can I find the AD component library and package library of diode 4148 transistor 8050 9012 and other devices?
- 5 - 65 MHz 24-bit Color FPD-Link II to FPD-Link Converter