Statement : Find the sum of the series of numbers. The length of the series is given in the memory location 2000H and the series itself begins from memory location 2001H. A). If the sum is an 8-bit number, store the sum at memory location 2005H. B). If the sum is a 16-bit number, store the sum at memory locations 2005H and 2006H. A). EXAMPLE : (2000H) = 04H (2001H) = 30H (2002H) = 15H (2003H) = 13H (2004H) = 33H Result = 30H + 15H + 13H + 33H = 8BH Therefore, (2005H) = 8BH FLOW CHART : PROGRAM : LDA 2000H ; Get the length of the series MOV C, A ; Initialise counter SUB A ; Make Sum = 0 LXI H,...
8085 microprocessor complete notes with full instruction set and important programs