Saturday, September 26, 2009

Instruction set of 8085-1(Intro)

An instruction is a command given to computer to perform the specified operation on given data.
The instruction set of a microprocessor is the collection of the instructions that the microprocessor is designed to execute.The instructions that are said in this set are based on the Intel 8085 processor.The programmer can write a assembly language program using the instruction set of a microprocessor.These instructions are classified into the following groups:

1) Data Transfer Instructions.
2) Arithmetic Instructions.
3)Logical Instructions
4)Branch Control Instructions
5)I/O and Machine Control Instructions.

Data Transfer Instructions:
->Instructions which ate used to transfer data from one register to another register from memory to register or register to memory will come under this group.The different data transfer instructions are MVI,LXI,LDA,STA etc. For more detail Click here.

Arithmetic Instructions:

->The instructions of this group perform operations like addition,subraction,increment or decrement of the content of the register or the memory location.Examples :ADD,SUB,INR,DAD.

Logical Instructions:
->The instructions of these group perform logical operations like AND,OR,compare,rotate etc.
Examples are ANA,XRA,ORA,CMP,RAL etc.

Branch Control Instructions:
->This group includes the instructions for conditional and unconditional jump,subroutine call,return and restart.Examples are: JMP,JC,JZ,CALL,CZ,RST etc.

I/O and Machine Control Instructions:
->This group includes the instructions for input/output ports,stack and machine control.
Examples are: IN,OUT,PUSH,POP,HLT etc.

No comments:

Post a Comment