3. a) SMALLEST OR LARGEST NUMBER IN AN ARRAY Aim: To write an 8085 assembly language program that finds the smallest (or largest number in an array and execute the program using microprocessor kit. Apparatus required : 8085 Microprocessor kit, Power supply Algorithm: Smallest number in an array Step 1: Initialize HL register pair with a memory pointer. Step 2: Get the count to B register and decrement the count. Step 3: Increment the memory pointer Step 4: Move contents of memory pointer to accumulator. Step 5: Increment memory pointer and compare the contents with accumulator. Ste...
Resource for EIE Students. Comment if any doubt arises. Follow the blog to get updates.