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

More Related Content

What's hot

Interrupts in pic
Interrupts in picInterrupts in pic
Interrupts in pic
v Kalairajan
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
Dr.YNM
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
v Kalairajan
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
Mathivanan Natarajan
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
Sudhanshu Janwadkar
 
Ccp
CcpCcp
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
raosandy11
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
DebrajJana4
 
Unit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionUnit II Arm7 Thumb Instruction
Unit II Arm7 Thumb Instruction
Dr. Pankaj Zope
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
Dr.YNM
 
Microcontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory portsMicrocontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory ports
Nilesh Bhaskarrao Bahadure
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
Nirbhay Singh
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
Ankit Bhatnagar
 
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
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
ARM Micro-controller
ARM Micro-controllerARM Micro-controller
ARM Micro-controller
Ravikumar Tiwari
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
Dr.YNM
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
Aniket Thakur
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
RAMPRAKASHT1
 

What's hot (20)

Interrupts in pic
Interrupts in picInterrupts in pic
Interrupts in pic
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
Ccp
CcpCcp
Ccp
 
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
Unit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionUnit II Arm7 Thumb Instruction
Unit II Arm7 Thumb Instruction
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
 
Microcontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory portsMicrocontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory ports
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
 
Interrupt programming with 8051 microcontroller
Interrupt programming with 8051  microcontrollerInterrupt programming with 8051  microcontroller
Interrupt programming with 8051 microcontroller
 
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
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
ARM Micro-controller
ARM Micro-controllerARM Micro-controller
ARM Micro-controller
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 

Similar to Pic16cxx instruction set

My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
rajeshkvdn
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
boukomra
 
Ch2 microcontroller architecture
Ch2 microcontroller architectureCh2 microcontroller architecture
Ch2 microcontroller architecture
Ahmad Sidik
 
Question Bank Programmable Logic Controller
Question Bank Programmable Logic ControllerQuestion Bank Programmable Logic Controller
Question Bank Programmable Logic Controller
Nilesh Bhaskarrao Bahadure
 
Software control systems for smart antenna
Software control systems for smart antennaSoftware control systems for smart antenna
Software control systems for smart antenna
eSAT Journals
 
Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011
benson215
 
Instruction set
Instruction setInstruction set
Instruction set
Lívia Sousa
 
12817584.ppt
12817584.ppt12817584.ppt
12817584.ppt
HusamAljabli
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24
Memo Love
 
Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2
Ikhwan_Fakrudin
 
Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011
benson215
 
Eee3420 lecture02 rev2011
Eee3420 lecture02 rev2011Eee3420 lecture02 rev2011
Eee3420 lecture02 rev2011
benson215
 
Plc 2
Plc 2Plc 2
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
Password based circuit breaker control to ensure electric
Password  based  circuit breaker  control to  ensure electricPassword  based  circuit breaker  control to  ensure electric
Password based circuit breaker control to ensure electric
Praveen Kumar V
 
Lecture 04 Logical Group of Instructions
Lecture 04 Logical Group of InstructionsLecture 04 Logical Group of Instructions
Lecture 04 Logical Group of Instructions
Zeeshan Ahmed
 
PIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfPIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdf
AvinashJain66
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Ismailkhan77481
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array)
Iffat Anjum
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
Midhu S V Unnithan
 

Similar to Pic16cxx instruction set (20)

My seminar new 28
My seminar new 28My seminar new 28
My seminar new 28
 
Instruction_Set.pdf
Instruction_Set.pdfInstruction_Set.pdf
Instruction_Set.pdf
 
Ch2 microcontroller architecture
Ch2 microcontroller architectureCh2 microcontroller architecture
Ch2 microcontroller architecture
 
Question Bank Programmable Logic Controller
Question Bank Programmable Logic ControllerQuestion Bank Programmable Logic Controller
Question Bank Programmable Logic Controller
 
Software control systems for smart antenna
Software control systems for smart antennaSoftware control systems for smart antenna
Software control systems for smart antenna
 
Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011
 
Instruction set
Instruction setInstruction set
Instruction set
 
12817584.ppt
12817584.ppt12817584.ppt
12817584.ppt
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24
 
Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2Embedded system (Chapter 2) part 2
Embedded system (Chapter 2) part 2
 
Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011Eee3420 lecture04 rev2011
Eee3420 lecture04 rev2011
 
Eee3420 lecture02 rev2011
Eee3420 lecture02 rev2011Eee3420 lecture02 rev2011
Eee3420 lecture02 rev2011
 
Plc 2
Plc 2Plc 2
Plc 2
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 
Password based circuit breaker control to ensure electric
Password  based  circuit breaker  control to  ensure electricPassword  based  circuit breaker  control to  ensure electric
Password based circuit breaker control to ensure electric
 
Lecture 04 Logical Group of Instructions
Lecture 04 Logical Group of InstructionsLecture 04 Logical Group of Instructions
Lecture 04 Logical Group of Instructions
 
PIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdfPIC18F458_Ritula Thakur.pptx.pdf
PIC18F458_Ritula Thakur.pptx.pdf
 
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdfPic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
Pic16f877a microcontroller based projects list _ PIC Microcontroller.pdf
 
Fpga(field programmable gate array)
Fpga(field programmable gate array) Fpga(field programmable gate array)
Fpga(field programmable gate array)
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
 

More from 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
 
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
 

More from v Kalairajan (13)

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

Recently uploaded

Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 

Recently uploaded (20)

Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 

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