Friday, 16 September 2016

Program to find the sum of 10 numbers stored in the array (8051)

MOV R0,#50H
MOV R2,#6
CLR A
MOV R7,A
XYZ: ADD A,@R0
JNC NEXT
INC R7
NEXT: INC R0
DJNZ R2 , XYZ  
END

2 comments:

  1. Thankyou shivanshudpsr@gmail.com for sharing link of this post.

    ReplyDelete
  2. ALP to find sum of ten number

    ReplyDelete