HOME

Monday, March 23, 2015

MPU 8085 PROGRAM TO SORT THE NUMBER

MVI B 05h
LOOOP: LXI H 2000h
MVI C 05h
LOOP: MOV A M
INX H
CMP M
JNC JUMP
MOV D M
MOV M A
DCX H
MOV M D
INX H
JUMP: DCR C
JNZ LOOP
DCR B
JNZ LOOOP
HLT

No comments:

Post a Comment