Algorithm of microprocessors programming
Microprocessor Programming 8085 and 8086:- Experiment No. 1 - Addition of Two 8-bit Numbers and Sum is 8-bit Algorithm:- 1.Initialize the memory location of first number in HL register pair. 2.Move first number/data into accumulator 3.Increment the content of HL register pair to initialize the memory location of second data 4.Add the second data with accumulator 5.Store the result in memory location 8003H Experiment No. 2 - Addition of two 8 bit numbers and sum is 16-bit Algorithm:- 1.Initialize the memory location of 1st data in HL register pair. 2.Store first data in the memory location. 3.Increment the content of HL register pair for entering next data in the next memory location. 4.Store second data in the memory location. 5.Move second number in accumulator. 6.Decrease the content of HL register pair. 7.Add the content of memory (first data) with accumulator. 8.Store the results in memory location 8503H and 8504H. Experiment No. 3 - Addition of Two 16-Bit Nu...