SlideShare a Scribd company logo
MICROCONTROLLER BASED SYSTEM DESIGN
“PIC 16CXX INSTRUCTION SET”
V.KALAIRAJAN M.E;
ASSISTANT PROFESSOR,
ELECTRICALAND ELECTRONICS ENGINEERING
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 1
PIC 16CXX INSTRUCTION SET
VIEWS:
 INSTRUCTION SET
 BYTE ORIENTED INSTRUCTIONS
 BIT ORIENTED INSTRUCTIONS
 LITERAL INSTRUCTIONS
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 2
PIC 16CXX INSTRUCTION SET
INSTRUCTION SET:
 The instruction set for PIC microcontroller consists of only 35
instructions. Some of these is instructions are byte oriented and some
bit oriented instructions. The instruction set is listed in table.
 Byte-oriented operations (Operation done in bytes of data)
 Bit-oriented operations (Operation done in bit of data)
 Literal and control operations (Data given in instruction itself)
BYTE ORIENTED INSTRUCTIONS:
 The byte oriented instructions that require two parameters ( for example
mov f,F(W)) except the f to be replaced by the name of a special
purpose register ( e.g. PORT A) or the name of a RAM variable (e.g.
NUM1) which serves as the source of the operant “f” stands for file
register. The F(W) parameter is the F, if the destination is to be the
source register.
 W, if the destination is to be working register (i.e. accumulator or W
register)
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 3
PIC 16CXX INSTRUCTION SET
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 4
PIC 16CXX INSTRUCTION SET
BIT ORIENTED INSTRUCTIONS :
 The bit oriented instructions also expect parameters (e.g. btfsc, f,
b). here “f” is to be replaced by the name of a special purpose
register on the name of RAM variable. The “b” parameter is to be
replaced by a bit number ranging from 0 to 7.
 For example
Zequ 2
Btfsc STATUS, z
Z has be equated to 2. Here the instructions will test the Z bit of
the status register and will skip the next instruction is Z bit is clear.
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 5
PIC 16CXX INSTRUCTION SET
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 6
PIC 16CXX INSTRUCTION SET
LITERAL INSTRUCTIONS:
 The literal instructions require an operand having a known
value (e.g. OAH) or a label that represents known value.
 For example
NUM equation OAH; assigns OAH to the label NUM (a
constant)
 movl W NUM: will move OAH to the W register
Every instruction fits in a sing 14 bit word. In addition,
every instruction also executes in a single cycle, unless it
changes the content of the program counter. These
features are due to the fact that PIC microcontroller has
been designed on the principle of RISC architecture.
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 7
PIC 16CXX INSTRUCTION SET
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 8
PIC 16CXX INSTRUCTION SET
CONCLUSION:
 In this above presentation we can learn about basic concept of
Instruction set, Byte Oriented Instructions, Bit Oriented
instructions, Literal Instructions clearly.
REFERENCES:
 Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny
causey Printice Hall of India, 2007.
 Ravichandran,C., and Arulaalan,M., “Microcontroller Based
System Design”, Suchitra Publications, Ist edition,2016.
 Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based
System Design”, Megnus Publications, Ist edition,2016.
 Online wikipedia search.
9KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET
Ad

More Related Content

What's hot (20)

80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
Mihika Shah
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
Ravikumar Tiwari
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
Ashish Ranjan
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
DominicHendry
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
Dr.YNM
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
9840596838
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
Urvashi Singh
 
ARM Fundamentals
ARM FundamentalsARM Fundamentals
ARM Fundamentals
guest56d1b781
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
8051 interrupts
8051 interrupts8051 interrupts
8051 interrupts
Shreyans Pathak
 
Timer programming for 8051 using embedded c
Timer programming for 8051 using embedded cTimer programming for 8051 using embedded c
Timer programming for 8051 using embedded c
Vikas Dongre
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
KanchanPatil34
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacing
Lecturer
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
Andri Prastiyo
 
Pic18f458
Pic18f458Pic18f458
Pic18f458
Girish Bellenavar
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
mahalakshmimalini
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
Subash Sambath Kumar
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
Mihika Shah
 
Pic 18 microcontroller
Pic 18 microcontrollerPic 18 microcontroller
Pic 18 microcontroller
Ashish Ranjan
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
DominicHendry
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
Muthu Manickam
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
Dr.YNM
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
9840596838
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
Urvashi Singh
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware8051 Microcontroller PPT's By Er. Swapnil Kaware
8051 Microcontroller PPT's By Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Timer programming for 8051 using embedded c
Timer programming for 8051 using embedded cTimer programming for 8051 using embedded c
Timer programming for 8051 using embedded c
Vikas Dongre
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacing
Lecturer
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
Subash Sambath Kumar
 

Similar to Pic16cxx instruction set (20)

Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programming
Nilesh Bhaskarrao Bahadure
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
Dr.YNM
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
Midhu S V Unnithan
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
OsaMa Hasan
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
boukomra
 
PIC Microcontrollers: Powering Versatile Embedded Solutions"
PIC Microcontrollers: Powering Versatile Embedded Solutions"PIC Microcontrollers: Powering Versatile Embedded Solutions"
PIC Microcontrollers: Powering Versatile Embedded Solutions"
aadithyaaa2005
 
seminar on PIC1684
seminar on PIC1684seminar on PIC1684
seminar on PIC1684
Sagar Sarvade
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
AakashRawat35
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
Siva Kumar
 
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
PICPICPICPICPICPICPICPICPICPICPICPIC .pptPICPICPICPICPICPICPICPICPICPICPICPIC .ppt
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
DrHamdyMMousa
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
Ee6008 mcbsd notes
Ee6008 mcbsd notesEe6008 mcbsd notes
Ee6008 mcbsd notes
vlkumashankardeekshi th
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
parthi_arjun
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
pavihari
 
EE6008 MBSD
EE6008  MBSDEE6008  MBSD
EE6008 MBSD
rmkceteee
 
Instruction set
Instruction setInstruction set
Instruction set
Lívia Sousa
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.ppt
TALHARIAZ46
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptx
fiqrie mohd
 
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdfPIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
SANTIAGO PABLO ALBERTO
 
Lecture 5-Embedde.pdf
Lecture 5-Embedde.pdfLecture 5-Embedde.pdf
Lecture 5-Embedde.pdf
BlackHunter13
 
Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programming
Nilesh Bhaskarrao Bahadure
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
Dr.YNM
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
Midhu S V Unnithan
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
OsaMa Hasan
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
boukomra
 
PIC Microcontrollers: Powering Versatile Embedded Solutions"
PIC Microcontrollers: Powering Versatile Embedded Solutions"PIC Microcontrollers: Powering Versatile Embedded Solutions"
PIC Microcontrollers: Powering Versatile Embedded Solutions"
aadithyaaa2005
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
AakashRawat35
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
Siva Kumar
 
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
PICPICPICPICPICPICPICPICPICPICPICPIC .pptPICPICPICPICPICPICPICPICPICPICPICPIC .ppt
PICPICPICPICPICPICPICPICPICPICPICPIC .ppt
DrHamdyMMousa
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
VISHNU KP
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
parthi_arjun
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
pavihari
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.ppt
TALHARIAZ46
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptx
fiqrie mohd
 
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdfPIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
PIC en la práctica Un enfoque basado en proyectos por D. W. Smith.pdf
SANTIAGO PABLO ALBERTO
 
Lecture 5-Embedde.pdf
Lecture 5-Embedde.pdfLecture 5-Embedde.pdf
Lecture 5-Embedde.pdf
BlackHunter13
 
Ad

More from v Kalairajan (13)

Speed governig system derivation
Speed governig system derivationSpeed governig system derivation
Speed governig system derivation
v Kalairajan
 
Protection schemes
Protection schemesProtection schemes
Protection schemes
v Kalairajan
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage control
v Kalairajan
 
Load on power system
Load on power systemLoad on power system
Load on power system
v Kalairajan
 
Electric power system operation.
Electric power system operation.Electric power system operation.
Electric power system operation.
v Kalairajan
 
Timer 2 concept
Timer 2 conceptTimer 2 concept
Timer 2 concept
v Kalairajan
 
Timer 0 concept
Timer 0 conceptTimer 0 concept
Timer 0 concept
v Kalairajan
 
Pipeline concepts of 16 c6x
Pipeline concepts of 16 c6xPipeline concepts of 16 c6x
Pipeline concepts of 16 c6x
v Kalairajan
 
I2 c bus communication
I2 c bus communicationI2 c bus communication
I2 c bus communication
v Kalairajan
 
Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's model
v Kalairajan
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
v Kalairajan
 
Arm architechture
Arm architechtureArm architechture
Arm architechture
v Kalairajan
 
Economics of Generation
Economics of GenerationEconomics of Generation
Economics of Generation
v Kalairajan
 
Speed governig system derivation
Speed governig system derivationSpeed governig system derivation
Speed governig system derivation
v Kalairajan
 
Protection schemes
Protection schemesProtection schemes
Protection schemes
v Kalairajan
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage control
v Kalairajan
 
Load on power system
Load on power systemLoad on power system
Load on power system
v Kalairajan
 
Electric power system operation.
Electric power system operation.Electric power system operation.
Electric power system operation.
v Kalairajan
 
Pipeline concepts of 16 c6x
Pipeline concepts of 16 c6xPipeline concepts of 16 c6x
Pipeline concepts of 16 c6x
v Kalairajan
 
I2 c bus communication
I2 c bus communicationI2 c bus communication
I2 c bus communication
v Kalairajan
 
Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's model
v Kalairajan
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
v Kalairajan
 
Economics of Generation
Economics of GenerationEconomics of Generation
Economics of Generation
v Kalairajan
 
Ad

Recently uploaded (20)

May 2025 - Top 10 Read Articles in Network Security and Its Applications
May 2025 - Top 10 Read Articles in Network Security and Its ApplicationsMay 2025 - Top 10 Read Articles in Network Security and Its Applications
May 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
Optimizing Reinforced Concrete Cantilever Retaining Walls Using Gases Brownia...
Optimizing Reinforced Concrete Cantilever Retaining Walls Using Gases Brownia...Optimizing Reinforced Concrete Cantilever Retaining Walls Using Gases Brownia...
Optimizing Reinforced Concrete Cantilever Retaining Walls Using Gases Brownia...
Journal of Soft Computing in Civil Engineering
 
introduction to Rapid Tooling and Additive Manufacturing Applications
introduction to Rapid Tooling and Additive Manufacturing Applicationsintroduction to Rapid Tooling and Additive Manufacturing Applications
introduction to Rapid Tooling and Additive Manufacturing Applications
vijimech408
 
Personal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.pptPersonal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.ppt
ganjangbegu579
 
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdfGROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
kemimafe11
 
Automatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and BeyondAutomatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and Beyond
NU_I_TODALAB
 
Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023
Rajesh Prasad
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
HSE Induction for heat stress work .pptx
HSE Induction for heat stress work .pptxHSE Induction for heat stress work .pptx
HSE Induction for heat stress work .pptx
agraahmed
 
Health & Safety .........................
Health & Safety .........................Health & Safety .........................
Health & Safety .........................
shadyozq9
 
vtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdfvtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdf
RaghavaGD1
 
Compressive Strength Estimation of Mesh Embedded Masonry Prism Using Empirica...
Compressive Strength Estimation of Mesh Embedded Masonry Prism Using Empirica...Compressive Strength Estimation of Mesh Embedded Masonry Prism Using Empirica...
Compressive Strength Estimation of Mesh Embedded Masonry Prism Using Empirica...
Journal of Soft Computing in Civil Engineering
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
22PCOAM16 Unit 3 Session 23  Different ways to Combine Classifiers.pptx22PCOAM16 Unit 3 Session 23  Different ways to Combine Classifiers.pptx
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
Guru Nanak Technical Institutions
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)
vijimech408
 
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
SanjeetMishra29
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
speedcomcyber25
 
May 2025 - Top 10 Read Articles in Network Security and Its Applications
May 2025 - Top 10 Read Articles in Network Security and Its ApplicationsMay 2025 - Top 10 Read Articles in Network Security and Its Applications
May 2025 - Top 10 Read Articles in Network Security and Its Applications
IJNSA Journal
 
introduction to Rapid Tooling and Additive Manufacturing Applications
introduction to Rapid Tooling and Additive Manufacturing Applicationsintroduction to Rapid Tooling and Additive Manufacturing Applications
introduction to Rapid Tooling and Additive Manufacturing Applications
vijimech408
 
Personal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.pptPersonal Protective Efsgfgsffquipment.ppt
Personal Protective Efsgfgsffquipment.ppt
ganjangbegu579
 
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdfGROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
GROUP 2 - MANUFACTURE OF LIME, GYPSUM AND CEMENT.pdf
kemimafe11
 
Automatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and BeyondAutomatic Quality Assessment for Speech and Beyond
Automatic Quality Assessment for Speech and Beyond
NU_I_TODALAB
 
Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023Urban Transport Infrastructure September 2023
Urban Transport Infrastructure September 2023
Rajesh Prasad
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
HSE Induction for heat stress work .pptx
HSE Induction for heat stress work .pptxHSE Induction for heat stress work .pptx
HSE Induction for heat stress work .pptx
agraahmed
 
Health & Safety .........................
Health & Safety .........................Health & Safety .........................
Health & Safety .........................
shadyozq9
 
vtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdfvtc2018fall_otfs_tutorial_presentation_1.pdf
vtc2018fall_otfs_tutorial_presentation_1.pdf
RaghavaGD1
 
Construction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil EngineeringConstruction Materials (Paints) in Civil Engineering
Construction Materials (Paints) in Civil Engineering
Lavish Kashyap
 
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
22PCOAM16 Unit 3 Session 23  Different ways to Combine Classifiers.pptx22PCOAM16 Unit 3 Session 23  Different ways to Combine Classifiers.pptx
22PCOAM16 Unit 3 Session 23 Different ways to Combine Classifiers.pptx
Guru Nanak Technical Institutions
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)
vijimech408
 
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
🚀 TDX Bengaluru 2025 Unwrapped: Key Highlights, Innovations & Trailblazer Tak...
SanjeetMishra29
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx698642933-DdocfordownloadEEP-FAKE-PPT.pptx
698642933-DdocfordownloadEEP-FAKE-PPT.pptx
speedcomcyber25
 

Pic16cxx instruction set

  • 1. MICROCONTROLLER BASED SYSTEM DESIGN “PIC 16CXX INSTRUCTION SET” V.KALAIRAJAN M.E; ASSISTANT PROFESSOR, ELECTRICALAND ELECTRONICS ENGINEERING KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRICHY KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 1
  • 2. PIC 16CXX INSTRUCTION SET VIEWS:  INSTRUCTION SET  BYTE ORIENTED INSTRUCTIONS  BIT ORIENTED INSTRUCTIONS  LITERAL INSTRUCTIONS KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 2
  • 3. PIC 16CXX INSTRUCTION SET INSTRUCTION SET:  The instruction set for PIC microcontroller consists of only 35 instructions. Some of these is instructions are byte oriented and some bit oriented instructions. The instruction set is listed in table.  Byte-oriented operations (Operation done in bytes of data)  Bit-oriented operations (Operation done in bit of data)  Literal and control operations (Data given in instruction itself) BYTE ORIENTED INSTRUCTIONS:  The byte oriented instructions that require two parameters ( for example mov f,F(W)) except the f to be replaced by the name of a special purpose register ( e.g. PORT A) or the name of a RAM variable (e.g. NUM1) which serves as the source of the operant “f” stands for file register. The F(W) parameter is the F, if the destination is to be the source register.  W, if the destination is to be working register (i.e. accumulator or W register) KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 3
  • 4. PIC 16CXX INSTRUCTION SET KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 4
  • 5. PIC 16CXX INSTRUCTION SET BIT ORIENTED INSTRUCTIONS :  The bit oriented instructions also expect parameters (e.g. btfsc, f, b). here “f” is to be replaced by the name of a special purpose register on the name of RAM variable. The “b” parameter is to be replaced by a bit number ranging from 0 to 7.  For example Zequ 2 Btfsc STATUS, z Z has be equated to 2. Here the instructions will test the Z bit of the status register and will skip the next instruction is Z bit is clear. KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 5
  • 6. PIC 16CXX INSTRUCTION SET KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 6
  • 7. PIC 16CXX INSTRUCTION SET LITERAL INSTRUCTIONS:  The literal instructions require an operand having a known value (e.g. OAH) or a label that represents known value.  For example NUM equation OAH; assigns OAH to the label NUM (a constant)  movl W NUM: will move OAH to the W register Every instruction fits in a sing 14 bit word. In addition, every instruction also executes in a single cycle, unless it changes the content of the program counter. These features are due to the fact that PIC microcontroller has been designed on the principle of RISC architecture. KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 7
  • 8. PIC 16CXX INSTRUCTION SET KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET 8
  • 9. PIC 16CXX INSTRUCTION SET CONCLUSION:  In this above presentation we can learn about basic concept of Instruction set, Byte Oriented Instructions, Bit Oriented instructions, Literal Instructions clearly. REFERENCES:  Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny causey Printice Hall of India, 2007.  Ravichandran,C., and Arulaalan,M., “Microcontroller Based System Design”, Suchitra Publications, Ist edition,2016.  Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based System Design”, Megnus Publications, Ist edition,2016.  Online wikipedia search. 9KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX INSTRUCTION SET
  翻译: