Рет қаралды 15,091
In this lesson of 8085 programming tutorial, I have explained the 8085 instruction set. This is just quick exploring of 8085 instruction. There are total 5 groups in which the 8085 instructions are divided. I have explained what is instruction and how they are grouped.
There are total 5 groups of instructions in 8085.
1. Data transfer group: instructions of this type transfer data from a source which can be a register or a memory location or an I/O device into a destination which again can be a register or a memory location or an I/O device. In this transfer of data the contents of the source are not modified. Moreover, data transfer instructions do not affect any of the flags. I have discussed mov, mvi, lda,ldax, in, out, sta,stax, lhld,shld
2. Arithmetic: the various arithmetic operations that the 8085 microprocessor performs through instructions are addition, subtraction, increment and decrement . add,adi,sub,sui, inr,dcr,dcx,inx,dad
3. Logical: the various logical operations that the 8085 microprocessor are discussed. ora,ori,ana,ani, cmaa,ral,rar,stc,cmc,daa
4. Branching: instructions of this type are used in the 8085 microprocessor for changing the sequence of program execution. They are broadly classified into three types: Jump instructions; Call and Return instructions; and Restart instructions. Call and return instructions are associated with subroutines while restart instructions with interrupts. Let us focus on the Jump instructions as of now. They are all three byte instructions which make the program control jump to a specific memory location for further execution either unconditionally or if a certain condition is satisfied. In case of conditional jumping the instructions test the status of one of the four flags S, Z, P, and CY. jump,jc,jnc, lp,jz,jnz,jn,ret
5. Machine control: instructions falling under this category, as suggested by the name, control machine operations. nop, hlt,ei,di
~-~~-~~~-~~-~
Please watch: "difference between microprocessor and microcontroller in hindi | Microprocessor vs Microcontroller"
• difference between mic...
~-~~-~~~-~~-~