HOME

Monday, May 4, 2015

8085 MPU PROGRAM TO FIND LARGEST NUMBER FROM GIVEN ARRAY ELEMENT

LXI H 1000h
MVI C 05h
MOV A M
LOOP: INX H
CMP M
JNC GREATER
MOV A M
GREATER: DCR C
JNZ LOOP
STA 2000h
HLT

Please fill the user grid which begin from 1000h to 1006h and insert the value to find the largest number.

No comments:

Post a Comment