SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
The 8051 Microcontroller: Instruction Set
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Length of Instructions:
[object Object],[object Object],[object Object],[object Object],[object Object],Classification of instructions:
[object Object],[object Object],[object Object],[object Object],Arithmetic instruction
[object Object],[object Object],[object Object],[object Object],ADD A, Rn
Before execution ADD A, R3 A 13 B R0 R1 R2 R3 31 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution ADD A, R3 A 44 B R0 R1 R2 R3 31 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 1
[object Object],[object Object],[object Object],[object Object],INC Rn
Before execution INC A A 1F B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution INC A A 20 B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],[object Object],Data transfer group
[object Object],MOV <destination byte>, <source Byte> ,[object Object],[object Object],[object Object]
Before execution MOV A, R7 A 00 B R0 R1 R2 R3 R4 R5 R6 R7 14 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution MOV A, R7 A 14 B R0 R1 R2 R3 R4 R5 R6 R7 14 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],[object Object],XCH A, Rn
Before execution XCH A, R5 A 27 B R0 R1 R2 R3 R4 R5 72 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution XCH A, R5 A 72 B R0 R1 R2 R3 R4 R5 27 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],Logical group
[object Object],[object Object],[object Object],ANL A, R0
Before execution ANL A, R2 A 10 B R0 R1 R2 01 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution ANL A, R2 A 00 B R0 R1 R2 01 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],CPL A
Before execution CPL A A FF B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution CPL A A 00 B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],Branching Instructions
[object Object],[object Object],[object Object],[object Object],DJNZ <byte>, <rel-address>
[object Object],[object Object],[object Object],JNZ rel
[object Object],[object Object],[object Object],[object Object],Logical operations on Bit
[object Object],[object Object],[object Object],[object Object],CLR bit
Before execution CLR C A FF B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 1 0 - 1 1 0 - 0
After execution CLR C A FF B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
[object Object],[object Object],[object Object],[object Object],CPL bit
Before execution CPL C A FF B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 0 0 - 1 1 0 - 0
After execution CPL C A FF B R0 R1 R2 R3 R4 R5 R6 R7 CY AC F0 RS1 RS0 OV - P 1 0 - 1 1 0 - 0
By: Mayank Sharma

Weitere ähnliche Inhalte

Was ist angesagt?

8051 basic programming
8051 basic programming8051 basic programming
8051 basic programmingANJUSHA R
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction setprakash y
 
8051-mazidi-solution
8051-mazidi-solution8051-mazidi-solution
8051-mazidi-solutionZunAib Ali
 
8051 experiments1
8051 experiments18051 experiments1
8051 experiments1tt_aljobory
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction setStefan Oprea
 
Subroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerSubroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerbhadresh savani
 
The 8051 microcontroller
The 8051  microcontroller The 8051  microcontroller
The 8051 microcontroller Avinash Mishra
 
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp011347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01bvenkanna
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerSudhanshu Janwadkar
 

Was ist angesagt? (20)

8051 basic programming
8051 basic programming8051 basic programming
8051 basic programming
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Instruction Set of 8051 Microcontroller
Instruction Set of 8051 MicrocontrollerInstruction Set of 8051 Microcontroller
Instruction Set of 8051 Microcontroller
 
8051-mazidi-solution
8051-mazidi-solution8051-mazidi-solution
8051-mazidi-solution
 
3 jump, loop and call instructions
3 jump, loop and call instructions3 jump, loop and call instructions
3 jump, loop and call instructions
 
Class9
Class9Class9
Class9
 
8051 experiments1
8051 experiments18051 experiments1
8051 experiments1
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Subroutine in 8051 microcontroller
Subroutine in 8051 microcontrollerSubroutine in 8051 microcontroller
Subroutine in 8051 microcontroller
 
The 8051 microcontroller
The 8051  microcontroller The 8051  microcontroller
The 8051 microcontroller
 
Emb day2 8051
Emb day2 8051Emb day2 8051
Emb day2 8051
 
8051d
8051d8051d
8051d
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp011347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 Microcontroller
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
microprocessors
microprocessorsmicroprocessors
microprocessors
 
Micro task1
Micro task1Micro task1
Micro task1
 

Andere mochten auch

8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Addressing mode of 8051
Addressing mode of 8051Addressing mode of 8051
Addressing mode of 8051Nitin Ahire
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 
Funding Patent Litigations
Funding Patent LitigationsFunding Patent Litigations
Funding Patent Litigationscbiyer
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directivesSARITHA REDDY
 
Introduction to Microelectronics
Introduction to MicroelectronicsIntroduction to Microelectronics
Introduction to MicroelectronicsITMO University
 
8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripheralsamrutachintawar239
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )Tarun Khaneja
 
Arithmetic & logical operations in 8051
Arithmetic & logical operations in 8051Arithmetic & logical operations in 8051
Arithmetic & logical operations in 8051Jay Patel
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSORAnnies Minu
 
Ic tech unit 5- VLSI Process Integration
Ic tech unit 5- VLSI Process IntegrationIc tech unit 5- VLSI Process Integration
Ic tech unit 5- VLSI Process Integrationkriticka sharma
 

Andere mochten auch (20)

8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Addressing mode of 8051
Addressing mode of 8051Addressing mode of 8051
Addressing mode of 8051
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 
mup
mupmup
mup
 
Pheripheral interface
Pheripheral interfacePheripheral interface
Pheripheral interface
 
Funding Patent Litigations
Funding Patent LitigationsFunding Patent Litigations
Funding Patent Litigations
 
Ue 1(v sem)
Ue 1(v sem)Ue 1(v sem)
Ue 1(v sem)
 
8051 Micro Controller
8051 Micro Controller8051 Micro Controller
8051 Micro Controller
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
Introduction to Microelectronics
Introduction to MicroelectronicsIntroduction to Microelectronics
Introduction to Microelectronics
 
8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
 
Arithmetic & logical operations in 8051
Arithmetic & logical operations in 8051Arithmetic & logical operations in 8051
Arithmetic & logical operations in 8051
 
CMOS Fabrication Process
CMOS Fabrication ProcessCMOS Fabrication Process
CMOS Fabrication Process
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Vlsi 2
Vlsi 2Vlsi 2
Vlsi 2
 
Cmos process flow
Cmos process flowCmos process flow
Cmos process flow
 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
 
Ic tech unit 5- VLSI Process Integration
Ic tech unit 5- VLSI Process IntegrationIc tech unit 5- VLSI Process Integration
Ic tech unit 5- VLSI Process Integration
 

Ähnlich wie 8051 Instruction Set

ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction SetDwight Sabio
 
Microprocessors and microcontrollers
Microprocessors and microcontrollers Microprocessors and microcontrollers
Microprocessors and microcontrollers durga_sekar
 
Instruction set of 8051.ppt
Instruction set of 8051.pptInstruction set of 8051.ppt
Instruction set of 8051.pptChandiniChinni2
 
ARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsAnh Dung NGUYEN
 
MICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONMICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONJahir Hussain
 
Winter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingWinter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingTechnogroovy
 
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdf
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdfARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdf
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdfeklavya0304
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
REGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.pptREGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.ppt
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.pptNARENDRAKUMARCHAURAS1
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingStephane Litkowski
 
Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine Arkhom Jodtang
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrpzafar85
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)Pratheesh Pala
 
Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheetElectromate
 

Ähnlich wie 8051 Instruction Set (20)

ARM Architecture Instruction Set
ARM Architecture Instruction SetARM Architecture Instruction Set
ARM Architecture Instruction Set
 
Microprocessors and microcontrollers
Microprocessors and microcontrollers Microprocessors and microcontrollers
Microprocessors and microcontrollers
 
Instruction set of 8051.ppt
Instruction set of 8051.pptInstruction set of 8051.ppt
Instruction set of 8051.ppt
 
module 5.1.pptx
module 5.1.pptxmodule 5.1.pptx
module 5.1.pptx
 
module 5.pptx
module 5.pptxmodule 5.pptx
module 5.pptx
 
CCNP Troubleshooting
CCNP TroubleshootingCCNP Troubleshooting
CCNP Troubleshooting
 
CCNP Troubleshooting
CCNP TroubleshootingCCNP Troubleshooting
CCNP Troubleshooting
 
ARM AAE - Intrustion Sets
ARM AAE - Intrustion SetsARM AAE - Intrustion Sets
ARM AAE - Intrustion Sets
 
Alp 8051
Alp 8051Alp 8051
Alp 8051
 
MICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONMICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATION
 
Winter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate TrainingWinter training,Readymade Projects,Buy Projects,Corporate Training
Winter training,Readymade Projects,Buy Projects,Corporate Training
 
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdf
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdfARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdf
ARMbuilt-inshift_2a6f2cdd75038e8c46c6d481aac833ec.pdf
 
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
REGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.pptREGISTER  TRANSFER  AND  MICROOPERATIONS2017-3-5.ppt
REGISTER TRANSFER AND MICROOPERATIONS2017-3-5.ppt
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testing
 
Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine Microprocessor Week 8: Subroutine
Microprocessor Week 8: Subroutine
 
Lab routing protocols eigrp
Lab routing protocols eigrpLab routing protocols eigrp
Lab routing protocols eigrp
 
Micro controller(pratheesh)
Micro controller(pratheesh)Micro controller(pratheesh)
Micro controller(pratheesh)
 
Dynamic user trace
Dynamic user traceDynamic user trace
Dynamic user trace
 
Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheet
 
Instruction types
Instruction typesInstruction types
Instruction types
 

8051 Instruction Set

Hinweis der Redaktion

  1. No flags affected.
  2. 1. Two operands source and destination. 2. MOVC  instruction moves a byte from the code or program memory to the accumulator 3. Length 1 2 n 3 bytes 4. if MOVX present, transfer to/from external memory
  3. 15 combos of source n destination code is possible