306x Filetype PDF File size 0.48 MB Source: kader05cuet.files.wordpress.com
Assembly Language Instructions
Content:
• Assembly language instructions of PIC16F887.
• Programming by assembly language.
Prepared By-
Mohammed Abdul kader
Assistant Professor, EEE, IIUC
Assembly Language Instruction
It has been already mentioned that microcontroller differs from other integrated circuits. Most
of them are ready for installation into the target device just as they are, which is not the case
with the microcontrollers. In order that the microcontroller may operate, it needs precise
instructions on what to do. In other words, a program which the microcontroller should
execute must be written and loaded into the microcontroller.
This chapter covers the commands which the microcontroller “understands”. The instruction set
for the 16FXX includes 35 instructions in total. Such a small number of instructions is specific
to the RISC microcontroller because they are well-optimized from the aspect of operating
speed, simplicity in architecture and code compactness. The only disadvantage of RISC
architecture is that the programmer is expected to cope with these instructions.
2 Lecture materials on "Assembly language instructions" By- Mohammed Abdul Kader, Assistant Prof, EEE, IIUC
Instruction Set of PIC16F887
There are 35 instructions of PIC16F887 microcontroller. The instructions may divide five parts for
understanding easily.
a) Data Transfer Instructions.
b) Arithmetic-logic Instructions
c) Bit-oriented Instructions
d) Program Control Instructions
e) Other Instructions
1
2
3
4
5
6
3 Lecture materials on "Assembly language instructions" By- Mohammed Abdul Kader, Assistant Prof, EEE, IIUC
Instruction Set of PIC16F887 (Cont.)
4
Lecture materials on "Assembly language instructions" By- Mohammed Abdul Kader, Assistant Prof, EEE, IIUC
no reviews yet
Please Login to review.