Write an 8085 assembly language program to find the minimum from the block of N 8-bit number.
1. MVI C 0A; set counter
2. LXI H 2001; set memory location
3. MOV A M; move data from memory to accumulator
4. L2: DCR C; decrement data of register C
5. JZ L1; jump if data of register C is 0
6. INX H; increment 16-bit data of HL register
7. MOV B M; move data from memory to register B
8. CMP B; compare data of accumulator and register B
9. CC L2; call on carry bit is 1
10. MOV A B; move data from register B to accumulator
11. CNC L2; call on carry bit is 0
12. L1: HLT; holt program
0 Comments