Sunday, September 29, 2024

Instruction Set of 8080 / 8085 MicroProcessor

In this post I am going to list out the detailed instruction set available for 8080 and 8085
 
There isn't much difference between the instruction set of 8080 and 8085.
 
The purpose of writing this post is to have a kick start on programming 8080 / 8085 Microprocessor.
 
The main purpose is to set the fundamentals right for those who wants to know how actually the operations are going on in a microprocessor in a detailed manner.

The following sections would debrief you on the instructions used to program 8080 / 8085 microprocessor...there is no need to memorize it....these sections are provided for you to refer in case if there is any need.
 
Frequently Used Instructions / Op-Codes
Instruction / Op-CodeMeaning
ADC, ACIAdd with Carry
ADD, ADIAdd
ANA, ANILogical AND
CALLCall Subroutine
CMP, CPICompare
DCRDecrement
INInput
INRIncrement
INXIncrement 16 Bits
JCJump on Carry
JMPJump
JNCJump on Not Carry
JNZJump on Not Zero
JZJump on Zero
LDALoad Accumulator
LXILoad 16 Bits
MOVMove
MVIMove Immediate
OUTOutput
RALRotate with Carry Left
RARRotate with Carry Right
RETReturn from SubRoutine
STAStore Accumulator
SUB, SUISubtract

Occasionally Used Instructions / Op-Codes
Instruction / Op-CodeMeaning
CMAComplement Accumulator
DAADecimal Adjust
DAD16-Bit Add
DCX16-Bit Decrement
DIDisable Interrupts
EIEnable Interrupts
HLTHalt
JMJump on Minus
JPJump on Positive
LDAXLoad Accumulator Indirect
LHLDLoad H and L Direct
NOPNo Operation
ORA, ORILogical OR
POPRemove from Stack
PUSHEnter into Stack
RMI(8085 Only)Reset Interrupt Mask
RLCRotate Left
RRCRotate Right
SHLDStore H and L Direct
SIM(8085 Only)Set Interrupt Mask
STAXStore Accumulator InDirect
XCHGExchange D and E, H and L
XRA, XRILogical Exclusive OR

Seldom Used Instructions / Op-Codes
Instruction / Op-CodeMeaning
CCCall on Carry
CMCall on Minus
CMCComplement Carry
CNCCall on No Carry
CNZCall on Not Zero
CPCall on Positive
CPECall on Parity Even
CPOCall on Parity Odd
CZCall on Zero
JPEJump on Parity Even
JPOJump on Parity Odd
PCHLH and L to Program Counter
RCReturn on carry
RMReturn on Minus
RNCReturn on No Carry
RNZReturn on Not Zero
RPReturn on Positive
RPEReturn on Parity Even
RPOReturn on Parity Odd
RSTRestart
RZReturn on Zero
SBB, SBISubtract With Borrow
SPHLH and L to Stack Pointer
STCSet Carry
XTHLExchange Top of Stack, H and L

No comments:

Post a Comment

Addressing Modes of 8080 / 8085 MicroProcessor

Hi,   In this post I am going to talk about different addressing modes of 8080/8085...without much talking let us get into the topic.   Ther...