Program to seperate bytes to nibbles in 8085

jojo January 18, 2011 1 Comment

AIM:To prepare an assembly language program for 8085 to  separate  the nibbles of an 8 bit number.

PROGRAM:

MVI C,00

LDA 4200

MOV C,A

ANI OF

STA 4201

MOV A,C

ANI F0

RRC

RRC

RRC

RRC

STA 4202

HLT

SAMPLE OUTPUT

ADDRESS

DATA

INPUT/OUTPUT

4200

A3

INPUT

4201

03

OUTPUT

4202

0A

OUTPUT

RESULT:A program to separate the nibbles of a byte was prepared and output obtained.

Note: Complete list of 8085 Assembly Language programs are available in CircuitsToday. Find Link below:

8085 Microprocessor Programs-Lab Manual

Comments

Leave a Reply to pratyush Cancel reply

Your email address will not be published. Required fields are marked *