Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

finding highest number - 8085 microprocessor

Status
Not open for further replies.

electroboy

Member level 5
Joined
Dec 30, 2010
Messages
86
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,879
this is a program to find the largest number in a given set of 5 numbers in 8085 microprocessor......

LXI H,0091H
LDA 0090H
MVI B,03H
CMP M
JM 0015H
INX H
DCR B
JNZ 0008H
STA 00A0H
HLT
MOV A,M
INX H
JMP 0008H


i have stored the 5 numbers from address 0090H to 0094H..... the starting address of the program is 0000H...
Is there any way to reduce the program size i.e no. of bytes....?? please help..thanks in advance..
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top