You are on page 1of 1

 Home  Coding Ground  Jobs  Whiteboard  Tools  Business   Teach with us     

 Category  Search tutorials ...   Prime Packs  Courses  eBooks  Library  Q/A  Login

Microprocessor - 8085 Instruction Sets

Advertisements

 Previous Page Next Page 


Microprocessor Tutorial

Microprocessor - Home

Microprocessor - Overview

Microprocessor - Classification

We make use of First and third party cookies to improve our user experience. By using this website, you agree with our Cookies Policy. Agree Learn more
8085 Microprocessor
Microprocessor 8085

Microprocessor - 8085 Architecture

8085 Pin Configuration 50 Lectures 6.5 hours

 Gowthami Swarna
Addressing Modes & Interrupts
More Detail
8085 Instruction Sets

8086 Microprocessor Let us take a look at the programming of 8085 Microprocessor.

Microprocessor - 8086 Overview Instruction sets are instruction codes to perform some task. It is classified into five
categories.
8086 Functional Units
S.No. Instruction & Description
8086 Pin Configuration

8086 Instruction Sets Control Instructions

1 Following is the table showing the list of Control instructions with their
Microprocessor - 8086 Interrupts
meanings.
8086 Addressing Modes

Logical Instructions
Multiprocessor Configuration
2 Following is the table showing the list of Logical instructions with their
Configuration Overview meanings.

8087 Numeric Data Processor


Branching Instructions

I/O Interfacing 3 Following is the table showing the list of Branching instructions with their
meanings.
I/O Interfacing Overview
Arithmetic Instructions
8279 Programmable Keyboard
4 Following is the table showing the list of Arithmetic instructions with their
8257 DMA Controller
meanings.

Microcontrollers
Data Transfer Instructions

Microcontrollers - Overview 5 Following is the table showing the list of Data-transfer instructions with their
meanings.
Microcontrollers - 8051 Architecture

8051 Pin Description


8085 – Demo Programs
8051 Input Output Ports
Now, let us take a look at some program demonstrations using the above instructions −
Microcontrollers - 8051 Interrupts
Adding Two 8-bit Numbers
Peripheral Devices
Write a program to add data at 3005H & 3006H memory location and store the result at
3007H memory location.
Programmable Peripheral Interface
Problem demo −
Intel 8255A - Pin Description

8253 - Programmable Interval Timer (3005H) = 14H

8253/54 - Operational Modes (3006H) = 89H

Microprocessor Useful Resources Result −

14H + 89H = 9DH


Microprocessor - Quick Guide
The program code can be written like this −
Microprocessor - Useful Resources

Microprocessor - Discussion LXI H 3005H : "HL points 3005H"


MOV A, M : "Getting first operand"
Selected Reading INX H : "HL points 3006H"
ADD M : "Add second operand"
UPSC IAS Exams Notes INX H : "HL points 3007H"
MOV M, A : "Store result at 3007H"
Developer's Best Practices
HLT : "Exit program"
Questions and Answers

Effective Resume Writing Exchanging the Memory Locations


HR Interview Questions Write a program to exchange the data at 5000M& 6000M memory location.

Computer Glossary
LDA 5000M : "Getting the contents at5000M location into accumulator"
Who is Who MOV B, A : "Save the contents into B register"
LDA 6000M : "Getting the contents at 6000M location into accumulator"
STA 5000M : "Store the contents of accumulator at address 5000M"
MOV A, B : "Get the saved contents back into A register"
STA 6000M : "Store the contents of accumulator at address 6000M"

Arrange Numbers in an Ascending Order


Write a program to arrange first 10 numbers from memory address 3000H in an ascending
order.

MVI B, 09 :"Initialize counter"


START :"LXI H, 3000H: Initialize memory pointer"
MVI C, 09H :"Initialize counter 2"
BACK: MOV A, M :"Get the number"
INX H :"Increment memory pointer"
CMP M :"Compare number with next number"
JC SKIP :"If less, don’t interchange"
JZ SKIP :"If equal, don’t interchange"
MOV D, M
MOV M, A
DCX H
MOV M, D
INX H :"Interchange two numbers"
SKIP:DCR C :"Decrement counter 2"
JNZ BACK :"If not zero, repeat"
DCR B :"Decrement counter 1"
JNZ START
HLT :"Terminate program execution"

 Previous Page  Print Page Next Page 

Advertisements

 About us  Refund Policy  Terms of use  Privacy Policy FAQ's  Contact

© Copyright 2022. All Rights Reserved.

You might also like