Simple logic operation instructions
CLR A; A← " 0 "
CPL A; A←A
SWAP A; A0~3 A4~7
Rotate Accumulator Left
RL A
Rotate Accumulator Left through Carry flag
RLC A
Rotate Accumulator Right
R R
Rotate A Right with C
RRC A
Logic and Instructions
ANL A, Rn
ANL A, direct
ANL A, #data
ANL A, @Ri
ANL direct, A
ANL direct, #data
Logical or instruction
ORL A, Rn
ORL A, direct
ORL A, #data
ORL A, @Ri
ORL direct, A
ORL direct, #data
Logical XOR instruction
XRL A, Rn
XRL A, direct
XRL A, #data
XRL A, @Ri
XRL direct, A
XRL direct, #data
Previous article:Introduction to the pin functions of MCS-51 microcontroller
Next article:MCS-51 microcontroller assembly language: What are the arithmetic operation instructions?
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
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
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- Apple faces class action lawsuit from 40 million UK iCloud users, faces $27.6 billion in claims
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- The US asked TSMC to restrict the export of high-end chips, and the Ministry of Commerce responded
- ASML predicts that its revenue in 2030 will exceed 457 billion yuan! Gross profit margin 56-60%
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- True RTOS
- Should you enter the IT industry? Four factors will tell you at a glance
- What are the commonly used chips that make up DSP systems?
- [RTT & Renesas high-performance CPK-RA6M4] 1. Hardware appreciation and RT-Thread development environment construction
- How to achieve PLC remote control through 4G network?
- How does USB 3.0 electrostatic protection maintain signal integrity?
- does not name a type
- Let's talk about millimeter wave: What is millimeter wave? What can millimeter wave do?
- Request a switching power supply voltage regulator circuit principle explanation
- EEWORLD University ---- Live playback: The most important component of the analog world - Signal chain and power supply: Sensor