[PRACTICAL] IMPLEMENT PROGRAM TO ADD 2 ARRAYS HAVING TEN 8-BIT NUMBERS EACH AND GENERATE A THIRD ARRAY OF RESULT
Are you looking for a step-by-step guide to Implement program to Add 2 arrays having ten 8-bit numbers each and generate a third array of result? here are the steps to implement program to Add 2 arrays having ten 8-bit numbers each and generate a third array of result.
Program user two list of memory location one is starting from C050h and another is started from C060h, both have 10 elements and store addition of two array in third array started from C070h.
(C070) = (C050) + (C060)
(C071) = (C051) + (C061) and so on.
LXI H,C050H LXI B,C060H LXI D,C070H BACK: LDAX B ADD M STAX D INX H INX B INX D MOV A, L CPI 0AH JNZ BACK HLT
For more practical related to 885 Programming please visit the 8085 Programming link
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?