PIC Instruction Cycle

Publisher:shengjuLatest update time:2022-07-25 Source: csdnKeywords:PIC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. PIC instruction cycle calculation:


Assume the operating frequency is: F (MHz);


One instruction cycle is 1/(F/4) seconds.


PIC instructions


That is, assembly instructions, the number of instructions in different series is different.


There are three levels of 8-bit microcontrollers, each with a corresponding instruction set. The basic PIC series chip has 33 instructions, each with a 12-bit word length; the intermediate PIC series chip has 35 instructions, each with a 14-bit word length; the advanced PIC series chip has 58 instructions, each with a 16-bit word length. Its instructions are backward compatible.


Keywords:PIC Reference address:PIC Instruction Cycle

Previous article:【PIC microcontroller】-- LCD related knowledge
Next article:PIC storage related

Recommended ReadingLatest update time:2024-11-16 14:47

PIC microcontroller compilation fails error summary
1. Error : Can't find 0x12C words for psect rbss_1 in segment BANK1 The connector tells you that there are 0x12C (300) bytes to be put into bank1, but the capacity of bank1 is insufficient. Obviously, the only way to solve this problem is to move some variables originally located in bank1 to other banks. 2.
[Microcontroller]
Using the MCLR pin as an output on a PIC microprocessor
Although microprocessor manufacturers try to provide designers with products that almost perfectly match their design needs, it is still often necessary to add an output pin to the product. This situation is more effective when using small designs with 8 pins or less. This design example uses the PIC10F222 fro
[Microcontroller]
Using the MCLR pin as an output on a PIC microprocessor
PIC microcontroller IIC communication read 24C02 program example 16F877A main frequency 4M
The text name is iic.h #ifndef _iic_h_ #define _iic_h_ //PIC microcontroller IIC communication initialization function declaration void iiccsh(void); //PIC microcontroller IIC communication read peripheral device function declaration //Function: send an 8-bit address and return an 8-bit data unsigned char iicread(uns
[Microcontroller]
Application of PIC microcontroller OR operation instruction XORWF
As we all know, most registers of PIC microcontrollers, including each storage unit of RAM data memory, can realize a series of complex operation functions such as shift, clear, and bit test. However, in the (most widely used basic and intermediate) reduced instruction sets that coordinate their operation, there is no
[Microcontroller]
Application of PIC microcontroller OR operation instruction XORWF
Improvement of PIC microcontroller A/D conversion data storage efficiency
This paper proposes a data packaging method so that the same amount of data occupies less storage space and improves transmission efficiency. introduction In the detection system composed of single-chip microcomputer and PC, usually multiple single-chip microcomputers collect data and send the data after A
[Microcontroller]
Research on downhole pressure measurement technology based on PIC16F877 single chip microcomputer
    At present, the main downhole pressure measurement system used in China's oil wells is the electronic downhole pressure measurement system. Since the electronic pressure sensor works in a high temperature environment for a long time, there is a drift problem and the reliability is not high. At the same time, most
[Microcontroller]
Research on downhole pressure measurement technology based on PIC16F877 single chip microcomputer
Design of automatic control system for nursing machine based on PIC microcontroller
introduction With the intensification of the aging process in my country, there is a "vulnerable group of people who are bedridden for a long time" in today's society because they have lost the ability to take care of themselves, especially those who are almost unconscious. They need to be taken care of for a long tim
[Microcontroller]
Design of automatic control system for nursing machine based on PIC microcontroller
PIC microcontroller development board independent keyboard scanning + buzzer sound + digital tube C program code
/* Independent keyboard scanning + buzzer + digital tube written by myself Mistake: unsigned is written as unsigner and it keeps saying that a and b cannot be found   PORTD0=1; No, you have to write PORTD=0x01; It is possible. It has been verified through experiments that there is no PORTD0, so it should be RD0=1;   
[Microcontroller]
PIC microcontroller development board independent keyboard scanning + buzzer sound + digital tube C program code
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号