Professional Documents
Culture Documents
20BCS7550 Yash Gautam Exp10
20BCS7550 Yash Gautam Exp10
2. Task to be done: We have to write a program to find the smallest number in an array.
LXI H,3000H
MOV C,M
INX H
MOV A,M
DCR C
LOOP:INX H
MOV B,M
CMP B
JC LABEL
MOV A,B
LABEL: DCR C
JNZ LOOP
INX H
MOV M,A
STA 3006H
HLT
#ORG 3000H
#DB 05H, 50H, 25H, 20H, 30H, 55H
6. Result/Output/Writing Summary:
Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):