0% found this document useful (0 votes)
61 views11 pages

Instruction Set of 8085 Microprocessor

Uploaded by

Hritwik Ghosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views11 pages

Instruction Set of 8085 Microprocessor

Uploaded by

Hritwik Ghosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

 Instruction

Set of 8085
Microprocessor

1
ARITHMETIC INSTRUCTIONS
 ADD B – [A] <----- [A]+[B]
 ADD M - [A] <----- [A]+[[HL]]
 DAD B – [HL] <----- [HL]+[BC]
 SUB C – [A] <----- [A]-[C]
 SUI 76H – [A] <---- [A]-76H
 SBB M – [A] <----- [A]-[[HL]]-[C]
DATA TRANSFER INSTRUCTIONS
Types Examples
1. Between Registers 1. MOV B,D – Copy the contents of the
register B into Register D
2. Specific data byte to a register or a 2. MVI B,32H – Load register B with the
memory location data byte 32H
3. Between a memory location and a 3. LXI H, 2000H
register MOV B,M
From a memory location 2000H to register
B
4. Between an I/O device and the 4. IN 05H – The contents of the input port
accumulator designated in the operand are read and
loaded into the accumulator
LOGICAL INSTRUCTIONS
 ANA C – [A] <----- [A] ^ [C]
 ANI 85H – [A] <----- [A] ^ 85H
 ORA M – [A] <----- [A] v [[HL]]
 XRA B – [A] <------ [A] XOR [B]
COMPARE INSTRUCTIONS
 CMP R

 CPI data
COMPLEMENT INSTRUCTIONS
 CMA – [A] <---- [A]’
 CMC – [CY] <----- [CY]’
JUMP INSTRUCTIONS

 Unconditional Jump: JMP 2050H – [PC]


<----- 2050H
 Conditional Jump: JZ 3100H – [PC] <-----
3100H if Z=1, otherwise [PC] <----- [PC]+1
 JNC 4250H – [PC] <----- 4250H if C=0,
otherwise [PC] <----- [PC]+1
 JNZ,JC, JP, JM etc.
CALL & RET
 CALL Addr
 [[SP]-1] <------- [PCH]
 [[SP]-1] <------- [PCL]
 [SP] <----- [SP]-2
 [PC] <----- Addr
 RET
 [PCL] <------ [[SP]]
 [PCH] <------ [[SP]+1]
 [SP] <------ [SP]+2
SOME MORE INSTRUCTIONS
 RAL
 RAR

 LDAX B

 STAX B

 PCHL

 DAA

 IN 02H

 OUT 03H
ONE BYTE INSTRUCTIONS
TWO BYTE INSTRUCTIONS

You might also like