Common abbreviations in single-chip microcomputer (51 for example)

Source: Internet
Author: User
Tags touch

may be abbreviated in different programs, but can be controlled by original intent

MCS-51 instruction English full abbreviation (1) Data transmission class instruction (7 mnemonic) mnemonic English annotation function
MOV Move transfers data from internal data register RAM and special function register SFR
MOVC move Code Reader memory data table data transfer MOVX Move External RAM data transfer to external RAM XCH Exchange byte Exchange
Xchd Exchange Low-order Digit low half byte switching push push onto stack) stack pops pop from stack)
(2) Arithmetic operation class instruction (8 mnemonic) ADD addition addition
ADDC Add with Carry carry addition Subb Subtract with borrow band borrow subtraction DA decimal Adjust decimal adjustment INC Increment plus 1 DEC De Crement minus 1.
MUL multiplication, Multiply multiplication DIV Division, Divide Division
(3) Logical Operation class instruction (10 mnemonic) ANL and logic logic with ORL or logic logic or
XRL exclusive-or Logic xor or CLR clear 0 CPL complement take reverse RL Rotate left loop shift
RLC Rotate left throught the Carry flag with carry-round shift-Move RR Rotate right loop
RRC Rotate right throught the Carry flag with carry-loop R-Swap swap low 4-bit with high 4-bit switching
(4) Control transfer class instruction (17 mnemonic characters)
Acall Absolute subroutine Call subroutine absolutely calls Lcall Long subroutine call subroutine length calls RET Return from subroutine Subroutine returns RETI return from interruption interrupt return JMP jump Indirect skip command sjmp short jumps
AJMP Absolute Jump Absolute transfer ljmp long jump length transfer

Cjne Compare and jump if not Equal compare unequal then transfer DJNZ decrement and jump if not zero minus 1 not 0 then transfer JZ Jump if Ze The RO result is 0 transfer
JNZ jump if not zero result is not 0 transfer
JC Jump If the Carry flag is set has carry carry then transfer JNC jump if not Carry no carry then transfer JB jump if the bit is set) B-bit Transfer to 1
JNB Jump if the bit was not set B bit 0 then transfer
JBC Jump If the bit was set and clear the bit is 1 transferred and cleared that bit NOP No operation empty operation
(5) bit operation instruction (1 mnemonic) Setb Set bit pseudo-directive
Mnemonic English annotation feature ORG origin start address DB Define byte definition byte DW Define word definition Word Yi
EQU Equal Assignment (right-left) equals data value assignment (right-left) XDATA External data External assignment (right-left) BIT B It bit address assignment end end assembly ends DS Define storage define storage 51 external Pins
Abbreviation English explanation Chinese explanation
RST (9) Reset reset signal pin RxD (10--p3.0) receive data serial receiver TxD (11--p3.1) transmit data serial port
INT0 (————) (12--p3.2) Interrupt0 external interrupt 0 signal input pin INT1 (————) (13--p3.3) Interrupt1 external interrupt 1 signal input pin T0 (14--p3.4) Timer0 Timer/Counter 0 input signal pin T1 (15--p3.5) Timer1 Timer/counter 1 input signal pin WR (———) (16--p3.6) write memory letter write signal pin
RD (———) (17--p3.7) Read signal pin
PSEN (—————) Progammer saving enable external program memory read-Select communication number
ALE (51) Address Latch enable address latch allow signal EA (———) (to) Enable external ROM select signal internal Register
SFR Special Funtion Register special function Register ACC accumulate accumulator A
PSW progammer Status Word program State Word

CY (psw.7) Carry carry flag bit
AC (psw.6) Assistant carry auxiliary carry marker bit OV (psw.2) overflow overflow flag PC Progammer Counter program counter
DPTR Data point Register-pointer register SP stack point stack pointer
TCON Timer Control Timer Controls Register TF1 (tcon.7) Timer1 flag T1 interrupt Flag bit TR1 (tcon.6) Timer1 run T1 running control bit TF0 (tcon.5) TIMER0 flag T0 Interrupt Flag bit TR0 (tcon.4) Timer0 run T0 running control bit
IE1 (tcon.3) INTERRUPT1 Exterior external interrupt 1 interrupt flag bit IT1 (tcon.2) INTERRUPT1 Touch External Interrupt 1 trigger mode select bit IE0 (TCON.1) Interrupt0 exterior outside Part interrupt 0 Interrupt flag bit IT0 (tcon.0) Interrupt0 Touch 0-level trigger 1-drop edge trigger IE (A8H) interrupt enable interrupt allow register EA (ie.7) Enable all Interr UPT interrupt total Allow bit ES (IE.4) enable serial serial port interrupt allow bit ET1 (IE.3) Enable timer 1 T1 interrupt allow bit
EX1 (IE.2) Enable exterior 1 external interrupt 1 interrupt allow bit ET0 (IE.1) Enable timer 0 T0 interrupt allow bit
EX0 (ie.0) enable exterior 0 external interrupt 0 interrupt allow bit IP (b8h) Interrupt priority Interrupt Precedence register PS (IP.4) Priority serial port precedence flag bit
PT1 (IP.3) Priority timer 1 Timer 1 precedence flag bit
PX1 (IP.2) Priority exterior 1 external interrupt 1 precedence flag bit PT0 (IP.1) Priority timer 0 Timer 0 precedence flag bit
PX0 (ip.0) Priority exterior 0 External interrupt 0 precedence flag bit PCON (87H) power control and baud rate selection Tmod (89H) Timer mode timer Mode control Register MSB = Most significant bit//the most significant bit LSB = Last significant bit//the least significant bit OE = output enable/outputs enabled PROG Progamme program
Xtal:external crystal oscillator, external crystal oscillator clkout:clock out, clock output buswdith: Bus width
Vref: Reference voltage (some of the MCU with ADC) Reset: Reset, restart ACH:.
Hso:high speed output, high velocity hsi:high fast input: inst:instruction, instruction
Ready: OK, ready signal or PIN in bus

CY (psw.7) Carry carry flag bit
AC (psw.6) Assistant carry auxiliary carry marker bit OV (psw.2) overflow overflow flag PC Progammer Counter program counter
DPTR Data point Register-pointer register SP stack point stack pointer
TCON Timer Control Timer Controls Register TF1 (tcon.7) Timer1 flag T1 interrupt Flag bit TR1 (tcon.6) Timer1 run T1 running control bit TF0 (tcon.5) TIMER0 flag T0 Interrupt Flag bit TR0 (tcon.4) Timer0 run T0 running control bit
IE1 (tcon.3) INTERRUPT1 Exterior external interrupt 1 interrupt flag bit IT1 (tcon.2) INTERRUPT1 Touch External Interrupt 1 trigger mode select bit IE0 (TCON.1) Interrupt0 exterior outside Part interrupt 0 Interrupt flag bit IT0 (tcon.0) Interrupt0 Touch 0-level trigger 1-drop edge trigger IE (A8H) interrupt enable interrupt allow register EA (ie.7) Enable all Interr UPT interrupt total Allow bit ES (IE.4) enable serial serial port interrupt allow bit ET1 (IE.3) Enable timer 1 T1 interrupt allow bit
EX1 (IE.2) Enable exterior 1 external interrupt 1 interrupt allow bit ET0 (IE.1) Enable timer 0 T0 interrupt allow bit
EX0 (ie.0) enable exterior 0 external interrupt 0 interrupt allow bit IP (b8h) Interrupt priority Interrupt Precedence register PS (IP.4) Priority serial port precedence flag bit
PT1 (IP.3) Priority timer 1 Timer 1 precedence flag bit
PX1 (IP.2) Priority exterior 1 external interrupt 1 precedence flag bit PT0 (IP.1) Priority timer 0 Timer 0 precedence flag bit
PX0 (ip.0) Priority exterior 0 External interrupt 0 precedence flag bit PCON (87H) power control and baud rate selection Tmod (89H) Timer mode timer Mode control Register MSB = Most significant bit//the most significant bit LSB = Last significant bit//the least significant bit OE = output enable/outputs enabled PROG Progamme program
Xtal:external crystal oscillator, external crystal oscillator clkout:clock out, clock output buswdith: Bus width
Vref: Reference voltage (some of the MCU with ADC) Reset: Reset, restart ACH:.
Hso:high speed output, high velocity hsi:high fast input: inst:instruction, instruction
Ready: OK, ready signal or PIN in bus


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.