Quick links
Latest articles
Internship
Members
New...
Algorithms
Discrete Mathematics
Big data
Languages
C
C++
C++ STL
Java
Data Structure
C#.Net
Android
Kotlin
SQL
Web
PHP
Python
JavaScript
CSS
Ajax
Node.js
Web prog.
Programs
C
C++
DS
Java
C#
Python
Aptitude
C
C++
Java
DBMS
Interview
C
Embedded C
Java
SEO
HR
CS Subjects
CS Basics
O.S.
Networks
DBMS
Embedded Systems
Cloud Computing
Machine learning
CS Organizations
Linux
DOS
More...
Articles
Puzzles
News/Updates

Home » Embedded Systems

Multiplication of two 8 bits numbers using logical instructions



Here, we are going to learn how to find multiplication of two 8 bits numbers using logical instructions on 8085 microprocessor?
Submitted by Akash Kumar, on November 03, 2018

Problem statement:

To perform multiplication operation between two 8 bits numbers using logical instructions on 8085 microprocessor.

Algorithm:

  1. Load first number in accumulator.
  2. Move the content of accumulator in register B.
  3. Load the second number in accumulator.
  4. Rotate the accumulator left without carry.
  5. Repeat step 4.
  6. Store the result in memory.
  7. HLT.

Program:

	LDA     2050
	MOV     B, A
	LDA     2051
	RLC
	RLC
	STA     3050
	HLT

Observation:

    INPUT: 
    2050:05
    2051:04

    OUTPUT: 
    3050:14

Hence we successfully multiplied two 8 bits numbers using logical instruction.






Quick links:
C FAQ(s) C Advance programs C/C++ Tips & Tricks Puzzles JavaScript CSS Python Linux Commands PHP Android Articles More...

Featured post:
Introduction to Linux (Its modes, Safety, Most popular Applications)
Linux Best Distribution Software (Distros) of 2018

Was this page helpful? Please share with your friends...

Are you a blogger? Join our Blogging forum.

Comments and Discussions



Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing » Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates



© https://www.includehelp.com (2015-2018), Some rights reserved.